HttpContextBase Methods

HttpContextBase Methods

 

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

NameDescription
System_CAPS_pubmethodAcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>)

When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function.

System_CAPS_pubmethodAcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>, AspNetWebSocketOptions)

When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function and options object.

System_CAPS_pubmethodAddError(Exception)

When overridden in a derived class, adds an exception to the exception collection for the current HTTP request.

System_CAPS_pubmethodAddOnRequestCompleted(Action<HttpContextBase>)

When implemented in a derived class, raises a virtual event that occurs when the HTTP part of the request is ending.

System_CAPS_pubmethodClearError()

When overridden in a derived class, clears all errors for the current HTTP request.

System_CAPS_pubmethodDisposeOnPipelineCompleted(IDisposable)

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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetGlobalResourceObject(String, String)

When overridden in a derived class, gets an application-level resource object based on the specified ClassKey and ResourceKey properties.

System_CAPS_pubmethodGetGlobalResourceObject(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.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLocalResourceObject(String, String)

When overridden in a derived class, gets a page-level resource object based on the specified VirtualPath and ResourceKey properties.

System_CAPS_pubmethodGetLocalResourceObject(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.

System_CAPS_pubmethodGetSection(String)

When overridden in a derived class, gets the specified configuration section of the current application's default configuration.

System_CAPS_pubmethodGetService(Type)

When overridden in a derived class, returns an object for the current service type.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemapHandler(IHttpHandler)

When overridden in a derived class, specifies a handler for the request.

System_CAPS_pubmethodRewritePath(String)

When overridden in a derived class, rewrites the URL by using the specified path.

System_CAPS_pubmethodRewritePath(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.

System_CAPS_pubmethodRewritePath(String, String, String)

When overridden in a derived class, rewrites the URL by using the specified path, path information, and query string information.

System_CAPS_pubmethodRewritePath(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.

System_CAPS_pubmethodSetSessionStateBehavior(SessionStateBehavior)

When overridden in a derived class, sets the type of session state behavior that is required to support an HTTP request.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft