次の方法で共有


TestRunConfiguration.IsExecutedOutOfProc プロパティ

テストが別のプロセスで実行されているかどうかを示すブール値を取得します。Set アクセサーは内部に設定されています。

名前空間:  Microsoft.VisualStudio.TestTools.Common
アセンブリ:  Microsoft.VisualStudio.QualityTools.Common (Microsoft.VisualStudio.QualityTools.Common.dll 内)

構文

'宣言
Public Property IsExecutedOutOfProc As Boolean
public bool IsExecutedOutOfProc { get; internal set; }
public:
property bool IsExecutedOutOfProc {
    bool get ();
    internal: void set (bool value);
}
member IsExecutedOutOfProc : bool with get, internal set
function get IsExecutedOutOfProc () : boolean
internal function set IsExecutedOutOfProc (value : boolean)

プロパティ値

型 : System.Boolean
テストが別個のプロセスで実行される場合は true。それ以外の場合は false。

解説

この値は、/noisolation オプションで mstest コマンド ラインに設定されます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

TestRunConfiguration クラス

Microsoft.VisualStudio.TestTools.Common 名前空間