Share via


MessageDelegate<T> Delegate

Definition

Given state return a PromptAttribute with a template for the message to display.

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) 

Type Parameters

T

Form state type.

Parameters

state
T

Form state.

Return Value

A PromptAttribute describing the message to display.

Applies to