WaterfallStep Delegate

Definition

A delegate definition of a Waterfall step. This is implemented by application code.

public delegate System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> WaterfallStep(WaterfallStepContext stepContext, CancellationToken cancellationToken);
type WaterfallStep = delegate of WaterfallStepContext * CancellationToken -> Task<DialogTurnResult>
Public Delegate Function WaterfallStep(stepContext As WaterfallStepContext, cancellationToken As CancellationToken) As Task(Of DialogTurnResult) 

Parameters

stepContext
WaterfallStepContext

The WaterfallStepContext for this waterfall dialog.

cancellationToken
CancellationToken

The cancellation token.

Return Value

A Task of DialogTurnResult representing the asynchronous operation.

Applies to