Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpWorkerRequest Class

This abstract class defines the base worker methods and enumerations used by ASP.NET managed code to process requests.

For a list of all members of this type, see HttpWorkerRequest Members.

System.Object
   System.Web.HttpWorkerRequest
      System.Web.Hosting.SimpleWorkerRequest

[Visual Basic]
<ComVisible(False)>
MustInherit Public Class HttpWorkerRequest
[C#]
[ComVisible(false)]
public abstract class HttpWorkerRequest
[C++]
[ComVisible(false)]
public __gc __abstract class HttpWorkerRequest
[JScript]
public
   ComVisible(false)
abstract class HttpWorkerRequest

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

In most cases, your code will not deal with HttpWorkerRequest directly because request and response data are exposed through the HttpRequest and HttpResponse classes. Some internal ASP.NET classes extend this class. If your code implements its own hosting environment, it will need to extend this class to call the ProcessRequest method. In addition, your code could create a derived class for the purpose of child-request execution within a given application in order to pass its instance to ProcessRequest. In this case, the derived class should keep a reference to the current HttpWorkerRequest and delegate most of the methods to it.

Requirements

Namespace: System.Web

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

HttpWorkerRequest Members | System.Web Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.