Export (0) Print
Expand All

AspNetDevelopmentServerHostAttribute Constructor (String, String)

Initializes a new instance of the AspNetDevelopmentServerHostAttribute class with the full path name and the Web application root.

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

public AspNetDevelopmentServerHostAttribute(
	string pathToWebApp,
	string webAppRoot
)

Parameters

pathToWebApp
Type: System.String

The full path of the Web application. The path can include environment variables like %TEMPDIR%\website1.

webAppRoot
Type: System.String

The Web application root.

Show:
© 2015 Microsoft