TestRunConfiguration.IsExecutedUnderDebugger 属性

获取或设置一个布尔值,该值表示测试运行是否可以在调试状态下执行。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Public Property IsExecutedUnderDebugger As Boolean
    Get
    Set
public bool IsExecutedUnderDebugger { get; set; }
public:
property bool IsExecutedUnderDebugger {
    bool get ();
    void set (bool value);
}
member IsExecutedUnderDebugger : bool with get, set
function get IsExecutedUnderDebugger () : boolean
function set IsExecutedUnderDebugger (value : boolean)

属性值

类型:System.Boolean
如果使用调试器执行运行,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

TestRunConfiguration 类

Microsoft.VisualStudio.TestTools.Common 命名空间