This documentation is archived and is not being maintained.

DefaultHttpHandler.OverrideExecuteUrlPath Method

Overrides the target URL for the current request.

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

public virtual string OverrideExecuteUrlPath ()
public String OverrideExecuteUrlPath ()
public function OverrideExecuteUrlPath () : String
Not applicable.

Return Value

The overridden URL to use in the request; or a null reference (Nothing in Visual Basic) if an overridden URL is not provided.

The OverrideExecuteUrlPath method returns a null reference (Nothing in Visual Basic) 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 Microsoft Internet Information Services (IIS) 6, and if the response was not modified before the DefaultHttpHandler object was called. The response is modified by any of the following.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0