語言

TestScript.Delay 方法

定義

多載

名稱 Description
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 物件。

適用於