TestFlow.AssertNoReply(String, UInt32) 方法

定义

添加一个断言,即轮次处理逻辑按预期完成响应。

public Microsoft.Bot.Builder.Adapters.TestFlow AssertNoReply (string description = default, uint timeout = 3000);
member this.AssertNoReply : string * uint32 -> Microsoft.Bot.Builder.Adapters.TestFlow
Public Function AssertNoReply (Optional description As String = Nothing, Optional timeout As UInteger = 3000) As TestFlow

参数

description
String

如果轮次仍然响应,则发送的消息。

timeout
UInt32

预计没有响应的时间(以毫秒为单位)。

返回

一个新的 TestFlow 对象,用于将此断言追加到建模交换。

注解

此方法不修改原始 TestFlow 对象。

适用于