Export (0) Print
Expand All

HttpContextBase Methods

The HttpContextBase type exposes the following members.

  Name Description
Public method AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>) When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function.
Public method AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>, AspNetWebSocketOptions) When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function and options object.
Public method AddError When overridden in a derived class, adds an exception to the exception collection for the current HTTP request.
Public method AddOnRequestCompleted When implemented in a derived class, raises a virtual event that occurs when the HTTP part of the request is ending.
Public method ClearError When overridden in a derived class, clears all errors for the current HTTP request.
Public method DisposeOnPipelineCompleted When implemented in a derived class, enables an object's Dispose method to be called when the AspNetWebSocket connection part of this request is completed.
Public method Equals(Object) 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(String, String) When overridden in a derived class, gets an application-level resource object based on the specified ClassKey and ResourceKey properties.
Public method GetGlobalResourceObject(String, String, CultureInfo) When overridden in a derived class, gets an application-level resource object based on the specified ClassKey and ResourceKey properties, and on the CultureInfo object.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLocalResourceObject(String, String) When overridden in a derived class, gets a page-level resource object based on the specified VirtualPath and ResourceKey properties.
Public method GetLocalResourceObject(String, String, CultureInfo) When overridden in a derived class, gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object.
Public method GetSection When overridden in a derived class, gets the specified configuration section of the current application's default configuration.
Public method GetService When overridden in a derived class, returns an object for the current service 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 RemapHandler When overridden in a derived class, specifies a handler for the request.
Public method RewritePath(String) When overridden in a derived class, rewrites the URL by using the specified path.
Public method RewritePath(String, Boolean) When overridden in a derived class, rewrites the URL by using the specified path and a value that specifies whether the virtual path for server resources is modified.
Public method RewritePath(String, String, String) When overridden in a derived class, rewrites the URL by using the specified path, path information, and query string information.
Public method RewritePath(String, String, String, Boolean) When overridden in a derived class, 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.
Public method SetSessionStateBehavior When overridden in a derived class, sets the type of session state behavior that is required to support an HTTP request.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft