Share via


HttpRequestBase.CurrentExecutionFilePath プロパティ

定義

派生クラスでオーバーライドされた場合、現在の要求の仮想パスを取得します。

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

プロパティ値

現在実行中のページ ハンドラーの仮想パス。

例外

注釈

プロパティは CurrentExecutionFilePath 、現在実行中のページ ハンドラーのファイル パスを返します。

メソッドまたは メソッドをHttpServerUtility.Execute使用して要求をリダイレクトすると、 プロパティはリダイレクトCurrentExecutionFilePath先のページ (子ページ) のパスを返HttpServerUtility.Transferします。 ただし、クライアントが別のページにリダイレクトされると、 プロパティは FilePath 元のページへのパスを返します。

適用対象