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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。