Partager via


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: String

    A string that contains the name of this instance of the ASP.NET Development Server.

  • pathToWebApp
    Type: String

    A string that contains the full path of the Web application.

  • webAppRoot
    Type: String

    A string that contains the name of the root for the Web application.

.NET Framework Security

See Also

Reference

AspNetDevelopmentServer Class

Microsoft.VisualStudio.TestTools.Common Namespace

Load

Save