Partilhar via


RealTimeServerConnectionManager.ConnectionAuthorizationRequested Event

Raised when an incoming or outgoing connection becomes connected.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Event ConnectionAuthorizationRequested As EventHandler(Of ConnectionAuthorizationRequestedEventArgs)
'Usage
Dim instance As RealTimeServerConnectionManager
Dim handler As EventHandler(Of ConnectionAuthorizationRequestedEventArgs)

AddHandler instance.ConnectionAuthorizationRequested, handler
public event EventHandler<ConnectionAuthorizationRequestedEventArgs> ConnectionAuthorizationRequested

Remarks

Applications can use this event to add extra authorization to the connection before messages are sent or received. State can be stored in the Connection.ApplicationContext property.

See Also

Reference

RealTimeServerConnectionManager Class

RealTimeServerConnectionManager Members

Microsoft.Rtc.Signaling Namespace