HttpRequestWrapper.CurrentExecutionFilePath Property

Definition

Gets the virtual path of the current request.

public:
 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.

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

Applies to