Share via


CustomEvent Class

Definition

Action to script sending custom event to the bot.

public class CustomEvent : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestAction
type CustomEvent = class
    inherit TestAction
Public Class CustomEvent
Inherits TestAction
Inheritance
CustomEvent

Constructors

CustomEvent(String, Int32)

Initializes a new instance of the CustomEvent class.

Fields

Kind

Seralization of kind.

Properties

Name

Gets or sets the event name.

Value

Gets or sets the event value.

Methods

ExecuteAsync(TestAdapter, BotCallbackHandler, Inspector)

Execute the test.

RegisterSourcePath(String, Int32)

Registers the path to file and callers line.

(Inherited from TestAction)

Applies to