AspNetDevelopmentServerHostAttribute Constructor (String)
Initializes a new instance of the AspNetDevelopmentServerHostAttribute class with the full path name.
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 _
)
public AspNetDevelopmentServerHostAttribute(
string pathToWebApp
)
public:
AspNetDevelopmentServerHostAttribute(
String^ pathToWebApp
)
new :
pathToWebApp:string -> AspNetDevelopmentServerHostAttribute
public function AspNetDevelopmentServerHostAttribute(
pathToWebApp : String
)
Parameters
pathToWebApp
Type: StringThe full path of the Web application. The path can include environment variables like %TEMPDIR%\website1.
.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