Idioma

MessageDelegate<T> Delegar

Definição

Dado state return a PromptAttribute com um template para a mensagem exibir.

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 da forma.

Parâmetros

state
T

Estado de forma.

Valor Retornado

Um PromptAttribute descrevendo a mensagem a ser exibida.

Aplica-se a