System.Web.DefaultHttpHandler.OverrideExecuteUrlPath Method

Overrides the target URL for the current request.

Syntax

public virtual string OverrideExecuteUrlPath ()

Returns

The overridden URL to use in the request; or null if an overridden URL is not provided.

Remarks

The DefaultHttpHandler.OverrideExecuteUrlPath method returns null unless it is overridden in a class that is derived from the System.Web.DefaultHttpHandler class.

The DefaultHttpHandler.OverrideExecuteUrlPath method is called only if ASP.NET is running in worker process isolation mode on IISĀ 6.0, and if the response was not modified before the System.Web.DefaultHttpHandler object was called. The response is modified by any of the following:

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0