Lingua

MessageDelegate<T> Delegato

Definizione

Dato state return a PromptAttribute con un template da mostrare al messaggio.

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) 

Parametri di tipo

T

Tipo di stato della forma.

Parametri

state
T

Forma stato.

Valore restituito

Un PromptAttribute che descrive il messaggio da visualizzare.

Si applica a