AgentContext.IsRemote 属性

获取一个值,该值指示是否在远程执行此代理上下文。

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

语法

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

属性值

类型:System.Boolean
如果在远程执行此代理上下文,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

AgentContext 类

Microsoft.VisualStudio.TestTools.Execution 命名空间