DefaultHttpHandler.OverrideExecuteUrlPath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overrides the target URL for the current request.
public:
virtual System::String ^ OverrideExecuteUrlPath();
public virtual string OverrideExecuteUrlPath ();
abstract member OverrideExecuteUrlPath : unit -> string
override this.OverrideExecuteUrlPath : unit -> string
Public Overridable Function OverrideExecuteUrlPath () As String
Returns
The overridden URL to use in the request; or null
if an overridden URL is not provided.
Remarks
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:
Calling HttpResponse.Write.
Calling HttpResponse.AddHeader.
Calling HttpResponse.Flush.
Changing the cache policy for the response.
Adding a Stream object as a filter to the HttpResponse.Filter property.