Język

MessageDelegate<T> Delegat

Definicja

Dane dane state zwróć a PromptAttribute z szablonem do wyświetlania wiadomości.

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) 

Parametry typu

T

Typ stanu formularza.

Parametry

state
T

Formuj stan.

Wartość zwracana

Atrybut PromptAttribute opisujący komunikat do wyświetlenia.

Dotyczy