DefaultHttpHandler.OverrideExecuteUrlPath Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Overrides the target URL for the current request.

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

public virtual string OverrideExecuteUrlPath()

Return Value

Type: System.String

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

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

The 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 DefaultHttpHandler object was called. The response is modified by any of the following:

.NET Framework
Available since 2.0
Return to top