System.Web.HttpContext: Method Members

The methods of System.Web.HttpContext are listed below. For a list of all members, see the HttpContext Members list.

See Also: Inherited members from System.Object

Public Methods

AddError(Exception)

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

ClearError()

Clears all errors for the current HTTP request.

static
GetAppConfig(string) : object

Returns requested configuration information for the current application.

GetConfig(string) : object

Returns requested configuration information for the current HTTP request.

static
GetGlobalResourceObject(string, string) : object

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

static
GetGlobalResourceObject(string, string, System.Globalization.CultureInfo) : object

Gets an application-level resource object based on the specified System.Web.Compilation.ResourceExpressionFields.ClassKey and System.Web.Compilation.ResourceExpressionFields.ResourceKey properties, and on the System.Globalization.CultureInfo object.

static
GetLocalResourceObject(string, string) : object

Gets a page-level resource object based on the specified System.Web.Compilation.ExpressionBuilderContext.VirtualPath and System.Web.Compilation.ResourceExpressionFields.ResourceKey properties.

static
GetLocalResourceObject(string, string, System.Globalization.CultureInfo) : object

Gets a page-level resource object based on the specified System.Web.Compilation.ExpressionBuilderContext.VirtualPath and System.Web.Compilation.ResourceExpressionFields.ResourceKey properties, and on the System.Globalization.CultureInfo object.

GetSection(string) : object

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

RewritePath(string)

Rewrites the URL using the given path.

RewritePath(string, bool)

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

RewritePath(string, string, string)

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

RewritePath(string, string, string, bool)

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.