IResponseValidator.ValidateAsync(IActivity, CancellationToken) 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.
Validates reply. Throw to signal validation failure.
public System.Threading.Tasks.Task ValidateAsync(Microsoft.Agents.Core.Models.IActivity reply, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Microsoft.Agents.Core.Models.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ValidateAsync (reply As IActivity, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- reply
- IActivity
- cancellationToken
- CancellationToken