TestScript.Delay 方法

定义

重载

名称 说明
Delay(TimeSpan, String, Int32)

这会让对话多了延迟。

Delay(UInt32, String, Int32)

这会让对话多了延迟。

Delay(TimeSpan, String, Int32)

这会让对话多了延迟。

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

参数

timespan
TimeSpan

TimeSpan 中的延迟长度。

path
String

路径。

line
Int32

行号。

返回

一个 TestScript 为建模交换附加延迟的新对象。

注解

该方法不修改原始 TestScript 对象。

适用于

Delay(UInt32, String, Int32)

这会让对话多了延迟。

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

参数

ms
UInt32

延迟长度以毫秒计。

path
String

路径。

line
Int32

行号。

返回

一个 TestScript 为建模交换附加延迟的新对象。

注解

该方法不修改原始 TestScript 对象。

适用于