Lingua

PromptAsyncDelegate<T> Delegato

Definizione

Un delegato per lo styling e la pubblicazione di un prompt.

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) 

Parametri di tipo

T

Parametri

context
IDialogContext

Contesto del messaggio.

prompt
FormPrompt

Prompt da pubblicare.

state
T

Stato della forma.

field
IField<T>

Campo che è prompted o null se non è un campo.

Valore restituito

Prompt che è stato pubblicato.

Si applica a