AspNetDevelopmentServer(String, String, String) 构造函数

定义

AspNetDevelopmentServer使用提供的名称、web 应用程序路径和 web 应用程序的根名称初始化类的实例。

public:
 AspNetDevelopmentServer(System::String ^ name, System::String ^ pathToWebApp, System::String ^ webAppRoot);
public AspNetDevelopmentServer (string name, string pathToWebApp, string webAppRoot);
new Microsoft.VisualStudio.TestTools.Common.AspNetDevelopmentServer : string * string * string -> Microsoft.VisualStudio.TestTools.Common.AspNetDevelopmentServer
Public Sub New (name As String, pathToWebApp As String, webAppRoot As String)

参数

name
String

一个字符串,其中包含 ASP.NET 开发服务器的此实例的名称。

pathToWebApp
String

包含 Web 应用程序的完整路径的字符串。

webAppRoot
String

一个字符串,其中包含 Web 应用程序的根的名称。

适用于