Share via


ResumeAfter<T> Delegate

Definition

Encapsulates a method that represents the code to execute after a result is available.

public delegate System.Threading.Tasks.Task ResumeAfter<in T>(IDialogContext context, IAwaitable<in T> result);
type ResumeAfter<'T> = delegate of IDialogContext * IAwaitable<'T> -> Task
Public Delegate Function ResumeAfter(Of In T)(context As IDialogContext, result As IAwaitable(Of In T)) As Task 

Type Parameters

T

The type of the result.

This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

Parameters

context
IDialogContext

The dialog context.

result
IAwaitable<T>

The result.

Return Value

A task that represents the code that will resume after the result is available.

Remarks

The result is often a message from the user.

Applies to