Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AspNetDevelopmentServerHostAttribute Constructor (String, String)

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


Type: System.String

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

Type: System.String

The Web application root.

© 2015 Microsoft