Export (0) Print
Expand All

DefaultHttpHandler.OverrideExecuteUrlPath Method

Note: This method is new in the .NET Framework version 2.0.

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

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 native mode on IIS, 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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft