Udostępnij za pośrednictwem


MessageDelegate<T> Delegat

Definicja

Podana state wartość zwraca element PromptAttribute z szablonem do wyświetlenia komunikatu.

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

Stan formularza.

Wartość zwracana

PromptAttribute opisujący komunikat do wyświetlenia.

Dotyczy