Sprache

PromptAsyncDelegate<T> Delegat

Definition

Ein Delegierter für das Styling und Posten eines Prompts.

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) 

Typparameter

T

Parameter

context
IDialogContext

Nachrichtenkontext.

prompt
FormPrompt

Prompt wird veröffentlicht.

state
T

Zustand der Form.

field
IField<T>

Das Feld wird angezeigt oder ist null, wenn es kein Feld ist.

Rückgabewert

Prompt, der gepostet wurde.

Gilt für: