Lenguaje

MessageDelegate<T> Delegado

Definición

Dado state return a PromptAttribute con una plantilla para que el mensaje se muestre.

public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.PromptAttribute> MessageDelegate<T>(T state);
type MessageDelegate<'T> = delegate of 'T -> Task<PromptAttribute>
Public Delegate Function MessageDelegate(Of T)(state As T) As Task(Of PromptAttribute) 

Parámetros de tipo

T

Tipo de estado de forma.

Parámetros

state
T

Estado de forma.

Valor devuelto

Un PromptAttribute que describe el mensaje a mostrar.

Se aplica a