HttpTaskAsyncHandler Class
Provides methods that a derived task handler class can implement in order to process an asynchronous task.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | HttpTaskAsyncHandler() | Called from constructors in derived classes to initialize the HttpTaskAsyncHandler class. |
| Name | Description | |
|---|---|---|
![]() | IsReusable | When overridden in a derived class, gets a value that indicates whether the task handler class instance can be reused for another asynchronous task. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ProcessRequest(HttpContext) | This API supports the product infrastructure and is not intended to be used directly from your code. When overridden in a derived class, provides code that handles a synchronous task. |
![]() | ProcessRequestAsync(HttpContext) | When overridden in a derived class, provides code that handles an asynchronous task. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Initiates asynchronous processing of a task in an HTTP task handler. |
![]() ![]() | IHttpAsyncHandler.EndProcessRequest(IAsyncResult) | This API supports the product infrastructure and is not intended to be used directly from your code. Ends asynchronous processing of a task in an HTTP task handler. |
TheHttpTaskAsyncHandler class provides a simplified way to handle asynchronous tasks without having to implement the BeginProcessRequest and EndProcessRequest methods. To create a handler for an asynchronous task, you can override the ProcessRequestAsync method and implement custom task handling code.
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




