WaterfallStep 委托

定义

瀑布步骤的委托定义。 这是由应用程序代码实现的。

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) 

参数

stepContext
WaterfallStepContext

此瀑布对话的瀑布步骤Context。

cancellationToken
CancellationToken

取消标记。

返回值

表示TaskDialogTurnResult异步操作的 。

适用于