IHostedTest.HostType 属性

定义

HostType 字符串用于标识主机。 IHostedTest 测试人员可以在自定义测试的 HostType 特性中使用此字符串,以指定要在其中运行该测试的主机。

public:
 property System::String ^ HostType { System::String ^ get(); void set(System::String ^ value); };
public string HostType { get; set; }
member this.HostType : string with get, set
Public Property HostType As String

属性值

String

String包含测试应在其中运行的主机类型的名称的。 若要指示默认测试宿主,此属性返回 null 或空字符串。

适用于