TestScript.Delay Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Delay(TimeSpan, String, Int32) |
Adds a delay in the conversation. |
Delay(UInt32, String, Int32) |
Adds a delay in the conversation. |
Delay(TimeSpan, String, Int32)
Adds a delay in the conversation.
public Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestScript Delay (TimeSpan timespan, string path = "", int line = 0);
member this.Delay : TimeSpan * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestScript
Public Function Delay (timespan As TimeSpan, Optional path As String = "", Optional line As Integer = 0) As TestScript
Parameters
- timespan
- TimeSpan
The delay length in TimeSpan.
- 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
Delay(UInt32, String, Int32)
Adds a delay in the conversation.
public Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestScript Delay (uint ms, string path = "", int line = 0);
member this.Delay : uint32 * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestScript
Public Function Delay (ms As UInteger, Optional path As String = "", Optional line As Integer = 0) As TestScript
Parameters
- ms
- UInt32
The delay length in milliseconds.
- 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.