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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈