Επεξεργασία

Κοινή χρήση μέσω


HttpApplication.AddOnAuthenticateRequestAsync Method

Definition

Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.

Overloads

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.

public:
 void AddOnAuthenticateRequestAsync(System::Web::BeginEventHandler ^ bh, System::Web::EndEventHandler ^ eh);
public void AddOnAuthenticateRequestAsync (System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);
member this.AddOnAuthenticateRequestAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler -> unit
Public Sub AddOnAuthenticateRequestAsync (bh As BeginEventHandler, eh As EndEventHandler)

Parameters

bh
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the AuthenticateRequest.

eh
EndEventHandler

The EndEventHandler that ends asynchronous processing of the AuthenticateRequest.

Applies to

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.

public:
 void AddOnAuthenticateRequestAsync(System::Web::BeginEventHandler ^ beginHandler, System::Web::EndEventHandler ^ endHandler, System::Object ^ state);
public void AddOnAuthenticateRequestAsync (System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);
member this.AddOnAuthenticateRequestAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler * obj -> unit
Public Sub AddOnAuthenticateRequestAsync (beginHandler As BeginEventHandler, endHandler As EndEventHandler, state As Object)

Parameters

beginHandler
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the AuthenticateRequest.

endHandler
EndEventHandler

The EndEventHandler that ends asynchronous processing of the AuthenticateRequest.

state
Object

The associated state to add to the asynchronous AuthenticateRequest.

Applies to