Compartir a través de


ConnectionAuthorizationRequestedEventArgs.DelayAuthorization Method

Puts the connection in a pending state to allow authorization later.

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

Syntax

'Declaration
Public Sub DelayAuthorization
'Usage
Dim instance As ConnectionAuthorizationRequestedEventArgs

instance.DelayAuthorization()
public void DelayAuthorization()

Remarks

By calling this method, applications can release the current thread and do an asynchronous authorization (by looking up in a database for example). The application must ensure that all code paths result in a call to Allow, or Deny with the connection process or a memory leak will result.

See Also

Reference

ConnectionAuthorizationRequestedEventArgs Class

ConnectionAuthorizationRequestedEventArgs Members

Microsoft.Rtc.Signaling Namespace