Jaa


OnCompletionAsyncDelegate<T> Delegate

Definition

A delegate called when a form is completed.

public delegate System.Threading.Tasks.Task OnCompletionAsyncDelegate<T>(IDialogContext context, T state);
type OnCompletionAsyncDelegate<'T> = delegate of IDialogContext * 'T -> Task
Public Delegate Function OnCompletionAsyncDelegate(Of T)(context As IDialogContext, state As T) As Task 

Type Parameters

T

Form state type.

Parameters

context
IDialogContext

Session where form dialog is taking place.

state
T

Completed form state.

Return Value

Remarks

This delegate gives an opportunity to take an action on a completed form such as sending it to your service. It cannot be used to create a new dialog or return a value to the parent dialog.

Applies to