HttpContextWrapper Methods
.NET Framework 4.5
The HttpContextWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
|
AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>) | Accepts an AspNetWebSocket request using the specified user function. (Overrides HttpContextBase.AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>).) |
|
AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>, AspNetWebSocketOptions) | Accepts an AspNetWebSocket request using the specified user function and options object. (Overrides HttpContextBase.AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>, AspNetWebSocketOptions).) |
|
AddError | Adds an exception to the exception collection for the current HTTP request. (Overrides HttpContextBase.AddError(Exception).) |
|
AddOnRequestCompleted | Raises a virtual event that occurs when the HTTP part of the request is ending. (Overrides HttpContextBase.AddOnRequestCompleted(Action<HttpContextBase>).) |
|
ClearError | Clears all errors for the current HTTP request. (Overrides HttpContextBase.ClearError().) |
|
DisposeOnPipelineCompleted | Enables an object's Dispose method to be called when the AspNetWebSocket connection part of this request is completed. (Overrides HttpContextBase.DisposeOnPipelineCompleted(IDisposable).) |
|
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.) |
|
GetGlobalResourceObject(String, String) | Gets an application-level resource object based on the specified ClassKey and ResourceKey properties. (Overrides HttpContextBase.GetGlobalResourceObject(String, String).) |
|
GetGlobalResourceObject(String, String, CultureInfo) | Gets an application-level resource object based on the specified ClassKey and ResourceKey properties, and on the CultureInfo object. (Overrides HttpContextBase.GetGlobalResourceObject(String, String, CultureInfo).) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLocalResourceObject(String, String) | Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties. (Overrides HttpContextBase.GetLocalResourceObject(String, String).) |
|
GetLocalResourceObject(String, String, CultureInfo) | Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object. (Overrides HttpContextBase.GetLocalResourceObject(String, String, CultureInfo).) |
|
GetSection | Gets the specified configuration section of the current application's default configuration. (Overrides HttpContextBase.GetSection(String).) |
|
GetService | Returns an object for the current service type. (Overrides HttpContextBase.GetService(Type).) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
RemapHandler | Enables you to specify a handler for the request. (Overrides HttpContextBase.RemapHandler(IHttpHandler).) |
|
RewritePath(String) | Rewrites the URL by using the specified path. (Overrides HttpContextBase.RewritePath(String).) |
|
RewritePath(String, Boolean) | Rewrites the URL by using the specified path and a value that specifies whether the virtual path for server resources is modified. (Overrides HttpContextBase.RewritePath(String, Boolean).) |
|
RewritePath(String, String, String) | Rewrites the URL by using the specified path, path information, and query string information. (Overrides HttpContextBase.RewritePath(String, String, String).) |
|
RewritePath(String, String, String, Boolean) | Rewrites the URL by using the specified path, path information, query string information, and a value that specifies whether the client file path is set to the rewrite path. (Overrides HttpContextBase.RewritePath(String, String, String, Boolean).) |
|
SetSessionStateBehavior | Sets the type of session state behavior that is required in order to support an HTTP request. (Overrides HttpContextBase.SetSessionStateBehavior(SessionStateBehavior).) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |