RoleContext.IsRemoteRole 属性
获取指示此上下文是否用于为远程角色配置的诊断数据适配器的值。
命名空间: Microsoft.VisualStudio.TestTools.Execution
程序集: Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
语法
声明
Public ReadOnly Property IsRemoteRole As Boolean
public bool IsRemoteRole { get; }
public:
property bool IsRemoteRole {
bool get ();
}
member IsRemoteRole : bool with get
function get IsRemoteRole () : boolean
属性值
类型:System.Boolean
如果此上下文用于为远程角色配置的诊断数据适配器,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。