Freigeben über


Extensions.GetValueAsync Methode

Definition

Ruft einen Wert aus einem Zeichenfolgenausdruck unter Verwendung eines ab 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

Der auszuwertende StringExpression.

dc
DialogContext

Der aktuelle DialogContext.

cancellationToken
CancellationToken

CancellationToken für diesen Aufruf.

Gibt zurück

Ein Task<TResult> , der das Ergebnis des asynchronen Vorgangs darstellt.

Gilt für: