HttpRequestBase.CurrentExecutionFilePath Property
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.
When overridden in a derived class, gets the virtual path of the current request.
public:
virtual property System::String ^ CurrentExecutionFilePath { System::String ^ get(); };
public virtual string CurrentExecutionFilePath { get; }
member this.CurrentExecutionFilePath : string
Public Overridable ReadOnly Property CurrentExecutionFilePath As String
Property Value
The virtual path of the page handler that is currently executing.
Exceptions
Always.
Remarks
The CurrentExecutionFilePath property returns the file path of the currently executing page handler.
When you redirect a request using either the HttpServerUtility.Execute method or the HttpServerUtility.Transfer method, the CurrentExecutionFilePath property returns the path of the page that you are redirecting to (the child page). However, when the client is redirected to another page, the FilePath property returns the path to the original page.
Applies to
.NET