Share via


Extensions.GetValueAsync Method

Definition

Gets a value from a string expression, using a 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)

Parameters

stringExpression
StringExpression

The StringExpression to evaluate.

dc
DialogContext

The current DialogContext.

cancellationToken
CancellationToken

CancellationToken for this call.

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to