Compartir a través de


ChoiceSet.BindAsync(DialogContext, Object, CancellationToken) Método

Definición

Dado el enlace de contexto de turno a los datos para crear el objeto de tipo T.

public System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet> BindAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext, object data = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BindAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet>
override this.BindAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet>
Public Function BindAsync (dialogContext As DialogContext, Optional data As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ChoiceSet)

Parámetros

dialogContext
DialogContext

dialogContext.

data
Object

datos a los que se va a enlazar. Si es Null, se usará dc.State.

cancellationToken
CancellationToken

para CancellationToken esta tarea.

Devoluciones

instancia de T.

Implementaciones

Se aplica a