AgentNotification.OnAgentNotification 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.
Register a route handler for agent notifications from a specific sub-channel or all known subchannels for a given agent channel.
public AgentNotification.AgentNotification OnAgentNotification(string subChannelId, Microsoft.Agents.A365.Notifications.Extensions.AgentNotificationHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
member this.OnAgentNotification : string * Microsoft.Agents.A365.Notifications.Extensions.AgentNotificationHandler * uint16 * string[] -> AgentNotification.AgentNotification
Public Function OnAgentNotification (subChannelId As String, handler As AgentNotificationHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As AgentNotification
Parameters
- subChannelId
- String
- handler
- AgentNotificationHandler
- rank
- UInt16
- autoSignInHandlers
- String[]