InputDialog.ResumeDialogAsync Method
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.
Called when a child dialog completes its turn, returning control to this dialog.
public override System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> ResumeDialogAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dc, Microsoft.Bot.Builder.Dialogs.DialogReason reason, object result = default, System.Threading.CancellationToken cancellationToken = default);
override this.ResumeDialogAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.DialogReason * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Public Overrides Function ResumeDialogAsync (dc As DialogContext, reason As DialogReason, Optional result As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)
Parameters
The DialogContext for the current turn of conversation.
- reason
- DialogReason
Reason why the dialog resumed.
- result
- Object
Optional, value returned from the dialog that was called. The type of the value returned is dependent on the child dialog.
- cancellationToken
- CancellationToken
Optional, a CancellationToken that can be used by other objects or threads to receive notice of cancellation.
Returns
A Task representing the asynchronous operation.