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 querystring。

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

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

适用于