Extensions.GetValueAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u een waarde op uit een tekenreeksexpressie met behulp van een 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
De StringExpression om te evalueren.
De huidige DialogContext.
- cancellationToken
- CancellationToken
CancellationToken voor dit gesprek.
Retouren
Een Task<TResult> die het resultaat van de asynchrone bewerking vertegenwoordigt.