HttpApplication.AddOnAuthorizeRequestAsync 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.
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
Overloads
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler) |
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. |
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object) |
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. |
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
public:
void AddOnAuthorizeRequestAsync(System::Web::BeginEventHandler ^ bh, System::Web::EndEventHandler ^ eh);
public void AddOnAuthorizeRequestAsync (System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);
member this.AddOnAuthorizeRequestAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler -> unit
Public Sub AddOnAuthorizeRequestAsync (bh As BeginEventHandler, eh As EndEventHandler)
Parameters
The BeginEventHandler that starts asynchronous processing of the AuthorizeRequest.
The EndEventHandler that ends asynchronous processing of the AuthorizeRequest.
Applies to
AddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
public:
void AddOnAuthorizeRequestAsync(System::Web::BeginEventHandler ^ beginHandler, System::Web::EndEventHandler ^ endHandler, System::Object ^ state);
public void AddOnAuthorizeRequestAsync (System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);
member this.AddOnAuthorizeRequestAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler * obj -> unit
Public Sub AddOnAuthorizeRequestAsync (beginHandler As BeginEventHandler, endHandler As EndEventHandler, state As Object)
Parameters
- beginHandler
- BeginEventHandler
The BeginEventHandler that starts asynchronous processing of the AuthorizeRequest.
- endHandler
- EndEventHandler
The EndEventHandler that ends asynchronous processing of the AuthorizeRequest.
- state
- Object
The associated state to add to the asynchronous AcquireRequestState.