Share via


BeginSkill Class

Definition

Begin a Skill.

public class BeginSkill : Microsoft.Bot.Builder.Dialogs.SkillDialog
type BeginSkill = class
    inherit SkillDialog
Public Class BeginSkill
Inherits SkillDialog
Inheritance

Constructors

BeginSkill(String, Int32)

Initializes a new instance of the BeginSkill class.

Fields

Kind

Class identifier.

Properties

Activity

Gets or sets template for the activity.

ActivityProcessed

Gets or sets a value indicating whether to have the new dialog should process the activity.

AllowInterruptions

Gets or sets interruption policy.

BotId

Gets or sets the Microsoft App ID that will be calling the skill.

ConnectionName

Gets or sets the OAuth Connection Name, that would be used to perform Single SignOn with a skill.

DialogOptions

Gets the options used to execute the skill dialog.

(Inherited from SkillDialog)
Disabled

Gets or sets an optional expression which if is true will disable this action.

Id

Gets or sets id for the dialog.

(Inherited from Dialog)
ResultProperty

Gets or sets the property path to store the dialog result in.

SkillAppId

Gets or sets the Microsoft App ID for the skill.

SkillEndpoint

Gets or sets the /api/messages endpoint for the skill.

SkillHostEndpoint

Gets or sets the callback Url for the skill host.

Source

Gets the information of the cref="SourceRange"/>.

(Inherited from Dialog)
TelemetryClient

Gets or sets the IBotTelemetryClient to use for logging.

(Inherited from Dialog)

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.

EndDialogAsync(ITurnContext, DialogInstance, DialogReason, CancellationToken)

Called when the dialog is ending.

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.

OnDialogEventAsync(DialogContext, DialogEvent, CancellationToken)

Called when an event has been raised, using DialogContext.emitEvent(), by either the current dialog or a dialog that the current dialog started.

(Inherited from Dialog)
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.

OnValidateActivity(Activity)

Validates the activity sent during ContinueDialogAsync(DialogContext, CancellationToken).

(Inherited from SkillDialog)
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.

ResumeDialogAsync(DialogContext, DialogReason, Object, CancellationToken)

Called when a child dialog completed its turn, returning control to this dialog.

Extension Methods

RunAsync(Dialog, ITurnContext, IStatePropertyAccessor<DialogState>, CancellationToken)

Creates a dialog stack and starts a dialog, pushing it onto the stack.

Applies to