HttpRequestWrapper.CurrentExecutionFilePath Property

 

Gets the virtual path of the current request.

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

public override string CurrentExecutionFilePath { get; }

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: