ComponentDialog.AddDialog(Dialog) 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.
Adds a new Dialog to the component dialog and returns the updated component.
public Microsoft.Bot.Builder.Dialogs.ComponentDialog AddDialog (Microsoft.Bot.Builder.Dialogs.Dialog dialog);
member this.AddDialog : Microsoft.Bot.Builder.Dialogs.Dialog -> Microsoft.Bot.Builder.Dialogs.ComponentDialog
Public Function AddDialog (dialog As Dialog) As ComponentDialog
Parameters
- dialog
- Dialog
The dialog to add.
Returns
The ComponentDialog after the operation is complete.
Remarks
The added dialog's TelemetryClient is set to the TelemetryClient of the component dialog.