AgentNotificationHandler Delegate
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.
Function for handling agent notification activities in an agent application.
public delegate System.Threading.Tasks.Task AgentNotificationHandler(ITurnContext turnContext, ITurnState turnState, AgentNotificationActivity agentNotificationActivity, CancellationToken cancellationToken);
type AgentNotificationHandler = delegate of ITurnContext * ITurnState * AgentNotificationActivity * CancellationToken -> Task
Public Delegate Function AgentNotificationHandler(turnContext As ITurnContext, turnState As ITurnState, agentNotificationActivity As AgentNotificationActivity, cancellationToken As CancellationToken) As Task
Parameters
- turnContext
- ITurnContext
- turnState
- ITurnState
- agentNotificationActivity
- AgentNotificationActivity
Contains the Possible Agent Notification classes and types
- cancellationToken
- CancellationToken