TestFlow.AssertNoReply(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use AssertNoMoreReplies instead. AssertNoMoreReplies has a cleaner parameter order and a shorter default timeout appropriate for 'done' assertions.
Adds an assertion that the turn processing logic finishes responding as expected.
[System.Obsolete("Use AssertNoMoreReplies instead. AssertNoMoreReplies has a cleaner parameter order and a shorter default timeout appropriate for 'done' assertions.")]
public Microsoft.Agents.Builder.Testing.TestFlow AssertNoReply(string description = default, uint timeout = 3000);
[<System.Obsolete("Use AssertNoMoreReplies instead. AssertNoMoreReplies has a cleaner parameter order and a shorter default timeout appropriate for 'done' assertions.")>]
member this.AssertNoReply : string * uint32 -> Microsoft.Agents.Builder.Testing.TestFlow
Public Function AssertNoReply (Optional description As String = Nothing, Optional timeout As UInteger = 3000) As TestFlow
Parameters
- description
- String
A message to send if the turn still responds.
- timeout
- UInt32
The amount of time in milliseconds within which no response is expected.
Returns
A new TestFlow object that appends this assertion to the modeled exchange.
- Attributes
Remarks
This method does not modify the original TestFlow object.