TestScript.Event(String, Object, String, Int32) Method

Definition

Adds a user options.

public Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestScript Event (string name, object value, string path = "", int line = 0);
member this.Event : string * obj * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestScript
Public Function Event (name As String, value As Object, Optional path As String = "", Optional line As Integer = 0) As TestScript

Parameters

name
String

test event name.

value
Object

test event value.

path
String

path.

line
Int32

line number.

Returns

A new TestScript object that appends a delay to the modeled exchange.

Remarks

This method does not modify the original TestScript object.

Applies to