This documentation is archived and is not being maintained.

HttpContextWrapper Members

Visual Studio 2008

Encapsulates the HTTP intrinsic object that contains HTTP-specific information about an individual HTTP request.

The HttpContextWrapper type exposes the following members.

Public method HttpContextWrapper Initializes a new instance of the HttpContextWrapper class by using the specified context object.

Public method AddError Adds an exception to the exception collection for the current HTTP request. (Overrides HttpContextBase.AddError(Exception).)
Public method ClearError Clears all errors for the current HTTP request. (Overrides HttpContextBase.ClearError().)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetGlobalResourceObject Overloaded. Gets an application-level resource.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLocalResourceObject Overloaded. Gets a page-level resource.
Public method GetSection Gets the specified configuration section of the current application's default configuration. (Overrides HttpContextBase.GetSection(String).)
Public method GetService Returns an object for the current service type. (Overrides HttpContextBase.GetService(Type).)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RewritePath Overloaded. Assigns an internal rewrite path, which lets the requested URL differ from the internal path of the resource.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property AllErrors Gets an array of errors (if any) that accumulated when an HTTP request was being processed. (Overrides HttpContextBase.AllErrors.)
Public property Application Gets the HttpApplicationState object for the current HTTP request. (Overrides HttpContextBase.Application.)
Public property ApplicationInstance Gets or sets the HttpApplication object for the current HTTP request. (Overrides HttpContextBase.ApplicationInstance.)
Public property Cache Gets the Cache object for the current application domain. (Overrides HttpContextBase.Cache.)
Public property CurrentHandler Gets the IHttpHandler object that represents the handler that is currently executing. (Overrides HttpContextBase.CurrentHandler.)
Public property CurrentNotification Gets a RequestNotification value that indicates the current HttpApplication event that is processing. (Overrides HttpContextBase.CurrentNotification.)
Public property Error Gets the first error (if any) that accumulated when an HTTP request was being processed. (Overrides HttpContextBase.Error.)
Public property Handler Gets or sets the IHttpHandler object that is responsible for processing the HTTP request. (Overrides HttpContextBase.Handler.)
Public property IsCustomErrorEnabled Gets a value that indicates whether custom errors are enabled for the current HTTP request. (Overrides HttpContextBase.IsCustomErrorEnabled.)
Public property IsDebuggingEnabled Gets a value that indicates whether the current HTTP request is in debug mode. (Overrides HttpContextBase.IsDebuggingEnabled.)
Public property IsPostNotification Gets a value that indicates whether an HttpApplication event has finished processing. (Overrides HttpContextBase.IsPostNotification.)
Public property Items Gets a key/value collection that can be used to organize and share data between a module and a handler during an HTTP request. (Overrides HttpContextBase.Items.)
Public property PreviousHandler Gets the IHttpHandler object for the parent handler. (Overrides HttpContextBase.PreviousHandler.)
Public property Profile Gets the ProfileBase object for the current user profile. (Overrides HttpContextBase.Profile.)
Public property Request Gets the HttpRequestBase object for the current HTTP request. (Overrides HttpContextBase.Request.)
Public property Response Gets the HttpResponseBase object for the current HTTP response. (Overrides HttpContextBase.Response.)
Public property Server Gets the HttpServerUtilityBase object that provides methods that are used when Web requests are being processed. (Overrides HttpContextBase.Server.)
Public property Session Gets the HttpSessionStateBase object for the current HTTP request. (Overrides HttpContextBase.Session.)
Public property SkipAuthorization Gets or sets a value that specifies whether the UrlAuthorizationModule object should skip the authorization check for the current request. (Overrides HttpContextBase.SkipAuthorization.)
Public property Timestamp Gets the initial timestamp of the current HTTP request. (Overrides HttpContextBase.Timestamp.)
Public property Trace Gets the TraceContext object for the current HTTP response. (Overrides HttpContextBase.Trace.)
Public property User Gets or sets security information for the current HTTP request. (Overrides HttpContextBase.User.)