HttpRequestWrapper::CurrentExecutionFilePath Property

 

Gets the virtual path of the current request.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property String^ CurrentExecutionFilePath {
	virtual String^ get() override;
}

Property Value

Type: System::String^

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

.NET Framework
Available since 3.5
Return to top
Show: