LoadTestContext.AgentName 屬性

取得目前代理程式的名稱。

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

語法

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

屬性值

型別:System.String
目前代理程式的名稱。

.NET Framework 安全性

請參閱

參考

LoadTestContext 類別

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間