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

Name Description
CustomEvent(String, Int32)

Initializes a new instance of the CustomEvent class.

Fields

Name Description
Kind

Seralization of kind.

Properties

Name Description
Name

Gets or sets the event name.

Value

Gets or sets the event value.

Methods

Name Description
ExecuteAsync(TestAdapter, BotCallbackHandler, Inspector)

Execute the test.

RegisterSourcePath(String, Int32)

Registers the path to file and callers line.

(Inherited from TestAction)

Applies to