HostTypeAttribute.HostType Property
Gets a value that represents the type of host.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property HostType As String
'Usage
Dim instance As HostTypeAttribute
Dim value As String
value = instance.HostType
public string HostType { get; }
public:
property String^ HostType {
String^ get ();
}
public function get HostType () : String
Property Value
Type: System.String
A value that represents the type of host.
Remarks
This value is ASP.NET if this is not a customer created host adapter.
Example
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.