共用方式為


TransactionTimer.Name 屬性

取得或設定指定給 TransactionTimer 的名稱。 這個名稱會顯示在 Web 效能測試編輯器,或顯示在 Web 效能測試和負載測試結果中的 Web 效能測試程式碼。

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

語法

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

屬性值

類型:String
交易計時器的名稱。

.NET Framework 安全性

請參閱

參考

TransactionTimer 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間