Udostępnij przez


PromptAsyncDelegate<T> Delegat

Definicja

Delegat do tworzenia stylów i publikowania monitu.

public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt> PromptAsyncDelegate<T>(IDialogContext context, FormPrompt prompt, T state, IField<T> field) where T : class;
type PromptAsyncDelegate<'T (requires 'T : null)> = delegate of IDialogContext * FormPrompt * 'T * IField<'T (requires 'T : null)> -> Task<FormPrompt>
Public Delegate Function PromptAsyncDelegate(Of T)(context As IDialogContext, prompt As FormPrompt, state As T, field As IField(Of T)) As Task(Of FormPrompt) 

Parametry typu

T

Parametry

context
IDialogContext

Kontekst komunikatu.

prompt
FormPrompt

Monit o opublikowanie.

state
T

Stan formularza.

field
IField<T>

Pole jest monitowane lub ma wartość null, jeśli nie jest polem.

Wartość zwracana

Monit o opublikowanie.

Dotyczy