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)
Syntax
'Declaration
Public Sub New ( _
pathToWebApp As String, _
webAppRoot As String _
)
public AspNetDevelopmentServerHostAttribute(
string pathToWebApp,
string webAppRoot
)
public:
AspNetDevelopmentServerHostAttribute(
String^ pathToWebApp,
String^ webAppRoot
)
new :
pathToWebApp:string *
webAppRoot:string -> AspNetDevelopmentServerHostAttribute
public function AspNetDevelopmentServerHostAttribute(
pathToWebApp : String,
webAppRoot : String
)
Parameters
pathToWebApp
Type: StringThe full path of the Web application. The path can include environment variables like %TEMPDIR%\website1.
webAppRoot
Type: StringThe Web application root.
.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.
See Also
Reference
AspNetDevelopmentServerHostAttribute Class
AspNetDevelopmentServerHostAttribute Overload
Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace