Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HostTypeAttribute Constructor (String, String)

 

Initializes a new instance of the HostTypeAttribute class. This is instantiated by using an argument that specifies the type of host on which this unit test will run, and custom data for the host adapter.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public HostTypeAttribute(
	string hostType,
	string hostData
)

Parameters

hostType
Type: System.String

The type of host on which this unit test will run.

hostData
Type: System.String

Custom data for the host adapter.

The standard type of host that is included with Visual Studio 2005 is ASP.NET.

Return to top
Show: