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.
Krijgt een waarde uit een stringexpressie, 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 te evalueren.
De huidige DialogContext.
- cancellationToken
- CancellationToken
CancellationToken voor dit telefoontje.
Retouren
A die Task<TResult> het resultaat van de asynchrone bewerking vertegenwoordigt.