TestFlow.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) |
Adds a delay in the conversation. |
Delay(UInt32) |
Adds a delay in the conversation. |
Delay(TimeSpan)
Adds a delay in the conversation.
public Microsoft.Bot.Builder.Adapters.TestFlow Delay (TimeSpan timespan);
member this.Delay : TimeSpan -> Microsoft.Bot.Builder.Adapters.TestFlow
Public Function Delay (timespan As TimeSpan) As TestFlow
Parameters
- timespan
- TimeSpan
The delay length in TimeSpan.
Returns
A new TestFlow object that appends a delay to the modeled exchange.
Remarks
This method does not modify the original TestFlow object.
Applies to
Delay(UInt32)
Adds a delay in the conversation.
public Microsoft.Bot.Builder.Adapters.TestFlow Delay (uint ms);
member this.Delay : uint32 -> Microsoft.Bot.Builder.Adapters.TestFlow
Public Function Delay (ms As UInteger) As TestFlow
Parameters
- ms
- UInt32
The delay length in milliseconds.
Returns
A new TestFlow object that appends a delay to the modeled exchange.
Remarks
This method does not modify the original TestFlow object.