Edit

Share via


ConnectionAuthorizationRequestedEventArgs.DelayAuthorization Method

Definition

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

public:
 void DelayAuthorization();
public void DelayAuthorization ();
member this.DelayAuthorization : unit -> unit
Public Sub 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.

Applies to