Edit

Share via


HttpApplication.AddOnLogRequestAsync Method

Definition

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

Overloads

AddOnLogRequestAsync(BeginEventHandler, EndEventHandler)

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

AddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

Remarks

AddOnLogRequestAsync is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

AddOnLogRequestAsync(BeginEventHandler, EndEventHandler)

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

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

Parameters

bh
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the LogRequest.

eh
EndEventHandler

The EndEventHandler that ends asynchronous processing of the LogRequest.

Remarks

AddOnLogRequestAsync is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to

AddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

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

Parameters

beginHandler
BeginEventHandler

The BeginEventHandler that starts asynchronous processing of the LogRequest.

endHandler
EndEventHandler

The EndEventHandler that ends asynchronous processing of the LogRequest.

state
Object

The associated state to add to the asynchronous LogRequest.

Applies to