Raised when an incoming or outgoing connection authorization is needed from the application.

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

Syntax

Visual Basic (Declaration)
Public Event 
ConnectionAuthorizationRequested 
As 
EventHandler(
Of 

ConnectionAuthorizationRequestedEventArgs)
C#
public event 
EventHandler<

ConnectionAuthorizationRequestedEventArgs> 
ConnectionAuthorizationRequested
Visual C++
public:
 
event 
EventHandler<

ConnectionAuthorizationRequestedEventArgs^>^ 
ConnectionAuthorizationRequested {
	
void 
add (
EventHandler<

ConnectionAuthorizationRequestedEventArgs^>^ 
value);
	
void 
remove (
EventHandler<

ConnectionAuthorizationRequestedEventArgs^>^ 
value);
}
JavaScript
function add_
connectionAuthorizationRequested(
value);
function remove_
connectionAuthorizationRequested(
value);

Remarks

Applications can use this event to add extra authorization to the connection before messages are sent or received. An application state can be stored in the Connection.ApplicationContext property so that it can be retrieved when incoming requests are processed.

See Also