HttpRequestWrapper.CurrentExecutionFilePath Property


Gets the virtual path of the current request.

 virtual property System::String ^ CurrentExecutionFilePath { System::String ^ get(); };
public override string CurrentExecutionFilePath { get; }
member this.CurrentExecutionFilePath : string
Public Overrides ReadOnly Property CurrentExecutionFilePath As String

Property Value

The virtual path of the page handler that is currently executing.


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).

Applies to