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。
備註
這個值是在 mstest 命令列中使用 /noisolation 選項所設定。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。