Språk

WaterfallStep Delegera

Definition

En delegerad definition av ett vattenfallssteg. Detta implementeras av applikationskod.

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) 

Parametrar

stepContext
WaterfallStepContext

WaterfallStepContext för denna vattenfallsdialog.

cancellationToken
CancellationToken

Annulleringstoken.

Returvärde

A Task av DialogTurnResult som representerar den asynkrona operationen.

Gäller för