RoleContext.IsExecutionRole 属性

获取一个值,该值指示此上下文是否用于为执行角色配置的诊断数据适配器。

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

语法

声明
Public ReadOnly Property IsExecutionRole As Boolean
public bool IsExecutionRole { get; }
public:
property bool IsExecutionRole {
    bool get ();
}
member IsExecutionRole : bool with get
function get IsExecutionRole () : boolean

属性值

类型:System.Boolean
如果此上下文用于为执行角色配置的诊断数据适配器,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

RoleContext 类

Microsoft.VisualStudio.TestTools.Execution 命名空间