Extensions.GetValueAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The current DialogContext.
- cancellationToken
- CancellationToken
CancellationToken for this call.
Returns
A Task<TResult> representing the result of the asynchronous operation.