AgentNotification.OnLifecycleNotification 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 lifecycle notifications.
public AgentNotification.AgentNotification OnLifecycleNotification(string lifecycleEvent, Microsoft.Agents.A365.Notifications.Extensions.AgentNotificationHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
member this.OnLifecycleNotification : string * Microsoft.Agents.A365.Notifications.Extensions.AgentNotificationHandler * uint16 * string[] -> AgentNotification.AgentNotification
Public Function OnLifecycleNotification (lifecycleEvent As String, handler As AgentNotificationHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As AgentNotification
Parameters
- lifecycleEvent
- String
- handler
- AgentNotificationHandler
- rank
- UInt16
- autoSignInHandlers
- String[]