WebReference.ServiceLocationUrl 属性

获取此 WSDL 文件中定义的第一个服务的服务位置 URL。

命名空间:  VsWebSite
程序集:  VsWebSite.Interop(在 VsWebSite.Interop.dll 中)

语法

声明
ReadOnly Property ServiceLocationUrl As String
    Get
string ServiceLocationUrl { get; }
property String^ ServiceLocationUrl {
    String^ get ();
}
abstract ServiceLocationUrl : string
function get ServiceLocationUrl () : String

属性值

类型:System.String
一个服务位置 URL。

备注

首先检查此 WSDL 中是否有 Soap12 协议地址。 如果未找到 Soap12 协议地址,则在此 WSDL 中查找标准 SOAP 地址。

.NET Framework 安全性

请参见

参考

WebReference 接口

VsWebSite 命名空间