共用方式為


WebTestContext.ControllerName 屬性

更新:2007 年 11 月

取得測試控制器電腦的名稱。

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

語法

Public ReadOnly Property ControllerName As String

Dim instance As WebTestContext
Dim value As String

value = instance.ControllerName
public string ControllerName { get; }
public:
property String^ ControllerName {
    String^ get ();
}
public function get ControllerName () : String

屬性值

型別:System.String

測試控制器電腦的名稱。

使用權限

請參閱

參考

WebTestContext 類別

WebTestContext 成員

Microsoft.VisualStudio.TestTools.WebTesting 命名空間

其他資源

控制器、代理程式和 Rig