This documentation is archived and is not being maintained.
HttpContext Members
.NET Framework 1.1
Public Constructors
HttpContext Constructor | Overloaded. Initializes a new instance of the HttpContext class. |
Public Properties
AllErrors | Gets an array of errors accumulated while processing an HTTP request. |
Application | Gets the HttpApplicationState object for the current HTTP request. |
ApplicationInstance | Gets or sets the HttpApplication object for the current HTTP request. |
Cache | Gets the Cache object for the current HTTP request. |
![]() Current | Gets the HttpContext object for the current HTTP request. |
Error | Gets the first error (if any) accumulated during HTTP request processing. |
Handler | Gets or sets the IHttpHandler object for the current HTTP request. |
IsCustomErrorEnabled | Gets a value indicating whether custom errors are enabled for the current HTTP request. |
IsDebuggingEnabled | Gets a value indicating whether the current HTTP request is in debug mode. |
Items | Gets a key-value collection that can be used to organize and share data between an IHttpModule and an IHttpHandler during an HTTP request. |
Request | Gets the HttpRequest object for the current HTTP request. |
Response | Gets the HttpResponse object for the current HTTP response. |
Server | Gets the HttpServerUtility object that provides methods used in processing Web requests. |
Session | Gets the HttpSessionState instance for the current HTTP request. |
SkipAuthorization | Gets or sets a value that specifies whether the URLAuthorization module will skip the authorization check for the current request. |
Timestamp | Gets the initial timestamp of the current HTTP request. |
Trace | Gets the TraceContext object for the current HTTP response. |
User | Gets or sets security information for the current HTTP request. |
Public Methods
AddError | Adds an exception to the exception collection for the current HTTP request. |
ClearError | Clears all errors for the current HTTP request. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
![]() GetAppConfig | Returns requested configuration information for the current application |
GetConfig | Returns requested configuration information for the current HTTP request. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
RewritePath | Overloaded. Assigns an internal rewrite path. RewritePath allows for the URL that is requested to differ from the internal path to the resource. RewritePath is used in cookieless session state. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:
