HttpContext Methods

 

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

NameDescription
System_CAPS_pubmethodAcceptWebSocketRequest(Func<AspNetWebSocketContext^, Task^>^)

Accepts an AspNetWebSocket request using the specified user function.

System_CAPS_pubmethodAcceptWebSocketRequest(Func<AspNetWebSocketContext^, Task^>^, AspNetWebSocketOptions^)

Accepts an AspNetWebSocket request using the specified user function and options object.

System_CAPS_pubmethodAddError(Exception^)

Adds an exception to the exception collection for the current HTTP request.

System_CAPS_pubmethodAddOnRequestCompleted(Action<HttpContext^>^)

Raises a virtual event that occurs when the HTTP part of the request is ending.

System_CAPS_pubmethodClearError()

Clears all errors for the current HTTP request.

System_CAPS_pubmethodDisposeOnPipelineCompleted(IDisposable^)

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_pubmethodSystem_CAPS_staticGetAppConfig(String^)

Obsolete. Returns requested configuration information for the current application.

System_CAPS_pubmethodGetConfig(String^)

Obsolete. Returns requested configuration information for the current HTTP request.

System_CAPS_pubmethodSystem_CAPS_staticGetGlobalResourceObject(String^, String^)

Gets an application-level resource object based on the specified ClassKey and ResourceKey properties.

System_CAPS_pubmethodSystem_CAPS_staticGetGlobalResourceObject(String^, String^, CultureInfo^)

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_pubmethodSystem_CAPS_staticGetLocalResourceObject(String^, String^)

Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties.

System_CAPS_pubmethodSystem_CAPS_staticGetLocalResourceObject(String^, String^, CultureInfo^)

Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object.

System_CAPS_pubmethodGetSection(String^)

Gets a specified configuration section for the current application's default configuration.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodRemapHandler(IHttpHandler^)

Enables you to specify a handler for the request.

System_CAPS_pubmethodRewritePath(String^)

Rewrites the URL using the given path.

System_CAPS_pubmethodRewritePath(String^, Boolean)

Rewrites the URL using the given path and a Boolean value that specifies whether the virtual path for server resources is modified.

System_CAPS_pubmethodRewritePath(String^, String^, String^)

Rewrites the URL by using the given path, path information, and query string information.

System_CAPS_pubmethodRewritePath(String^, String^, String^, Boolean)

Rewrites the URL using the given virtual path, path information, query string information, and a Boolean value that specifies whether the client file path is set to the rewrite path.

System_CAPS_pubmethodSetSessionStateBehavior(SessionStateBehavior)

Sets the type of session state behavior that is required in order to support an HTTP request.

System_CAPS_pubmethodToString()

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

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceProvider::GetService(Type^)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an object for the current service type.

Return to top
Show: