共用方式為


AgentContext.Name 屬性

取得或設定代理程式在測試控制器中登錄的完整名稱。

命名空間:  Microsoft.VisualStudio.TestTools.Execution
組件:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

語法

'宣告
Public Property Name As String
public string Name { get; internal set; }
public:
property String^ Name {
    String^ get ();
    internal: void set (String^ value);
}
member Name : string with get, internal set
function get Name () : String 
internal function set Name (value : String)

屬性值

類型:String
如使用 T:Microsoft.TeamFoundation.TestManagement.Client.ITestController 所註冊之代理程式的完整限定名稱。

.NET Framework 安全性

請參閱

參考

AgentContext 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間

ITestController