ContinueConversation Class
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.
Action which continues a conversation using a Conversation reference.
public class ContinueConversation : Microsoft.Bot.Builder.Dialogs.Dialog
type ContinueConversation = class
inherit Dialog
Public Class ContinueConversation
Inherits Dialog
- Inheritance
Remarks
This action works by writing an EventActivity(Name=ContinueConversation) to a StorageQueue stamped with the routing information from the provided ConversationReference.
The queue needs a process (such as a webjob/azure function) pulling activites from the StorageQueue and processing them by calling adapter.ProcessActivity(activity, ...);
NOTE: In the case of multiple adapters this webjob/function should inspect the activity.channelId to properly route the activity to the appropriate adapter.
This dialog returns the receipt information for the queued activity as the result of the dialog.
Constructors
ContinueConversation(String, Int32) |
Initializes a new instance of the ContinueConversation class. |
Fields
Kind |
The Kind name for this dialog. |
Properties
ConversationReference |
Gets or sets the conversationReference for the target conversation. |
Disabled |
Gets or sets an optional expression which if true will disable this action. |
Id |
Gets or sets id for the dialog. (Inherited from Dialog) |
Source |
Gets the information of the cref="SourceRange"/>. (Inherited from Dialog) |
TelemetryClient |
Gets or sets the IBotTelemetryClient to use for logging. (Inherited from Dialog) |
Value |
Gets or sets an optional value to use for EventActivity.Value. |
Methods
BeginDialogAsync(DialogContext, Object, CancellationToken) |
Called when the dialog is started and pushed onto the dialog stack. |
ContinueDialogAsync(DialogContext, CancellationToken) |
Called when the dialog is continued, where it is the active dialog and the user replies with a new activity. (Inherited from Dialog) |
EndDialogAsync(ITurnContext, DialogInstance, DialogReason, CancellationToken) |
Called when the dialog is ending. (Inherited from Dialog) |
GetVersion() |
Gets a unique string which represents the version of this dialog. If the version changes between turns the dialog system will emit a DialogChanged event. (Inherited from Dialog) |
OnComputeId() |
Builds the compute Id for the dialog. (Inherited from Dialog) |
OnDialogEventAsync(DialogContext, DialogEvent, CancellationToken) |
Called when an event has been raised, using |
OnPostBubbleEventAsync(DialogContext, DialogEvent, CancellationToken) |
Called after an event was bubbled to all parents and wasn't handled. (Inherited from Dialog) |
OnPreBubbleEventAsync(DialogContext, DialogEvent, CancellationToken) |
Called before an event is bubbled to its parent. (Inherited from Dialog) |
RegisterSourceLocation(String, Int32) |
Registers a cref="SourceRange"/> in the provided location. (Inherited from Dialog) |
RepromptDialogAsync(ITurnContext, DialogInstance, CancellationToken) |
Called when the dialog should re-prompt the user for input. (Inherited from Dialog) |
ResumeDialogAsync(DialogContext, DialogReason, Object, CancellationToken) |
Called when a child dialog completed this turn, returning control to this dialog. (Inherited from Dialog) |
Extension Methods
RunAsync(Dialog, ITurnContext, IStatePropertyAccessor<DialogState>, CancellationToken) |
Creates a dialog stack and starts a dialog, pushing it onto the stack. |