Editare

Partajați prin


IHttpAsyncHandler Interface

Definition

Defines the contract that HTTP asynchronous handler objects must implement.

public interface class IHttpAsyncHandler : System::Web::IHttpHandler
public interface IHttpAsyncHandler : System.Web.IHttpHandler
type IHttpAsyncHandler = interface
    interface IHttpHandler
Public Interface IHttpAsyncHandler
Implements IHttpHandler
Derived
Implements

Remarks

An IHttpAsyncHandler class can be associated with a file name extension or a particular URL by a configuration file, in the httpHandlers configuration section. The ASP.NET infrastructure will then instantiate and call the handler when the corresponding request is received. Alternatively, the handler can be defined in an .ashx file and when the corresponding request is received for the .ashx file the handler will be executed.

Properties

IsReusable

Gets a value indicating whether another request can use the IHttpHandler instance.

(Inherited from IHttpHandler)

Methods

BeginProcessRequest(HttpContext, AsyncCallback, Object)

Initiates an asynchronous call to the HTTP handler.

EndProcessRequest(IAsyncResult)

Provides an asynchronous process End method when the process ends.

ProcessRequest(HttpContext)

Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.

(Inherited from IHttpHandler)

Applies to