WaterfallStep Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.