HostTypeAttribute.HostType 属性
获取一个表示主机类型的值。
命名空间: Microsoft.VisualStudio.TestTools.UnitTesting
程序集: Microsoft.VisualStudio.QualityTools.UnitTestFramework(在 Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll 中)
语法
声明
Public ReadOnly Property HostType As String
Get
public string HostType { get; }
public:
property String^ HostType {
String^ get ();
}
member HostType : string
function get HostType () : String
属性值
类型:System.String
一个表示主机类型的值。
备注
如果它不是客户创建的主机适配器,则该值为 ASP.NET。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。