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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。