SoapUtility.GetServerPhysicalPath(String, String, String, String) 方法

定义

返回 SOAP 虚拟根目录的路径。

public:
 virtual void GetServerPhysicalPath(System::String ^ rootWebServer, System::String ^ inBaseUrl, System::String ^ inVirtualRoot, [Runtime::InteropServices::Out] System::String ^ % physicalPath);
public void GetServerPhysicalPath (string rootWebServer, string inBaseUrl, string inVirtualRoot, out string physicalPath);
abstract member GetServerPhysicalPath : string * string * string * string -> unit
override this.GetServerPhysicalPath : string * string * string * string -> unit
Public Sub GetServerPhysicalPath (rootWebServer As String, inBaseUrl As String, inVirtualRoot As String, ByRef physicalPath As String)

参数

rootWebServer
String

根 Web 服务器。

inBaseUrl
String

基 URL 地址。

inVirtualRoot
String

虚拟根目录的名称。

physicalPath
String

此方法返回时,此参数包含 SOAP 虚拟根目录的文件路径。

实现

例外

调用链中的调用方无权访问非托管代码。

SOAP 实用工具不可用。

获取系统目录的调用失败。

适用于