Share via


EmitEvent(String, Object, Boolean, String, Int32) Constructor

Definition

Initializes a new instance of the EmitEvent class.

public EmitEvent (string eventName = default, object eventValue = default, bool bubble = false, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.EmitEvent : string * obj * bool * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.EmitEvent
Public Sub New (Optional eventName As String = Nothing, Optional eventValue As Object = Nothing, Optional bubble As Boolean = false, Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

eventName
String

Name of the event to emit.

eventValue
Object

Memory property path to use to get the value to send as part of the event.

bubble
Boolean

Value indicating whether the event should bubble to parents or not.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to