通过


ServiceMetadataBehavior.HttpsGetUrl 属性

定义

获取或设置 HTTPS/GET 请求的元数据发布的位置。

public:
 property Uri ^ HttpsGetUrl { Uri ^ get(); void set(Uri ^ value); };
public Uri HttpsGetUrl { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))]
public Uri HttpsGetUrl { get; set; }
member this.HttpsGetUrl : Uri with get, set
[<System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))>]
member this.HttpsGetUrl : Uri with get, set
Public Property HttpsGetUrl As Uri

属性值

Uri

HTTPS 元数据的地址。

属性

注解

如果值为相对值 HttpsGetUrl ,则发布元数据的地址是基址和服务地址以及 ?wsdl 查询字符串。

如果值为绝对值HttpsGetUrl,则发布元数据的地址是值加上 ?wsdl querystring 的值HttpsGetUrl

例如,如果服务地址为 https://localhost:8080/CalculatorServiceHttpsGetUrl 字符串,则 HTTPS/GET 元数据地址为 https://localhost:8080/CalculatorService?wsdl

适用于