Uredi

Deli z drugimi prek


HttpRequestBase.CurrentExecutionFilePath Property

Definition

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

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