Sprache

Extensions.GetValueAsync Methode

Definition

Erhält einen Wert aus einem Zeichenkettenausdruck unter Verwendung eines TextTemplate.

public static System.Threading.Tasks.Task<string> GetValueAsync(this AdaptiveExpressions.Properties.StringExpression stringExpression, Microsoft.Bot.Builder.Dialogs.DialogContext dc, System.Threading.CancellationToken cancellationToken);
static member GetValueAsync : AdaptiveExpressions.Properties.StringExpression * Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function GetValueAsync (stringExpression As StringExpression, dc As DialogContext, cancellationToken As CancellationToken) As Task(Of String)

Parameter

stringExpression
StringExpression

Die StringExpression auszuwertende Funktion.

dc
DialogContext

Die aktuelle DialogContext.

cancellationToken
CancellationToken

CancellationToken für diesen Anruf.

Gibt zurück

Eine Task<TResult>, die das Ergebnis des asynchronen Vorgangs darstellt.

Gilt für: