ConnectionAuthorizationRequestedEventArgs.DelayAuthorization Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.