AspNetDevelopmentServer Constructor
Initializes an instance of the AspNetDevelopmentServer class by using the provided name, Web application path, and root name of the Web application.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
pathToWebApp As String, _
webAppRoot As String _
)
public AspNetDevelopmentServer(
string name,
string pathToWebApp,
string webAppRoot
)
public:
AspNetDevelopmentServer(
String^ name,
String^ pathToWebApp,
String^ webAppRoot
)
new :
name:string *
pathToWebApp:string *
webAppRoot:string -> AspNetDevelopmentServer
public function AspNetDevelopmentServer(
name : String,
pathToWebApp : String,
webAppRoot : String
)
Parameters
name
Type: StringA string that contains the name of this instance of the ASP.NET Development Server.
pathToWebApp
Type: StringA string that contains the full path of the Web application.
webAppRoot
Type: StringA string that contains the name of the root for the Web application.
.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.