Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OverrideExecuteUrlPath Method

DefaultHttpHandler.OverrideExecuteUrlPath Method

Overrides the target URL for the current request.

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

abstract OverrideExecuteUrlPath : unit -> string  
override OverrideExecuteUrlPath : unit -> string

Return Value

Type: System.String
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 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft