Sdílet prostřednictvím


MessageDelegate<T> Delegát

Definice

Dané state vrácení se PromptAttribute šablonou pro zobrazení zprávy.

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 stavu formuláře.

Parametry

state
T

Stav formuláře.

Návratová hodnota

Atribut PromptAttribute popisující zprávu, která se má zobrazit.

Platí pro