IHttpAsyncHandler Interface

Definition

Defines the contract that HTTP asynchronous handler objects must implement.

public interface IHttpAsyncHandler : System.Web.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

Produkt Verze
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1