語言

TestFlow.Delay 方法

定義

多載

名稱 Description
Delay(TimeSpan)

這會讓對話多出延遲。

Delay(UInt32)

這會讓對話多出延遲。

Delay(TimeSpan)

這會讓對話多出延遲。

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

參數

timespan
TimeSpan

TimeSpan 中的延遲長度。

傳回

一個 TestFlow 新物件,為所建模的交換附加延遲。

備註

此方法不會修改原始 TestFlow 物件。

適用於

Delay(UInt32)

這會讓對話多出延遲。

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

參數

ms
UInt32

延遲長度以毫秒計。

傳回

一個 TestFlow 新物件,為所建模的交換附加延遲。

備註

此方法不會修改原始 TestFlow 物件。

適用於