语言

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 对象。

适用于