Condividi tramite


AgentNotification.OnLifecycleNotification Method

Definition

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
rank
UInt16
autoSignInHandlers
String[]

Returns

Applies to