ServiceMetadataPublishingElement.ExternalMetadataLocation 属性
定义
获取或设置一个包含服务元数据位置的字符串。Gets or sets a string that contains the location of service metadata.
public:
property Uri ^ ExternalMetadataLocation { Uri ^ get(); void set(Uri ^ value); };
[System.Configuration.ConfigurationProperty("externalMetadataLocation")]
public Uri ExternalMetadataLocation { get; set; }
[<System.Configuration.ConfigurationProperty("externalMetadataLocation")>]
member this.ExternalMetadataLocation : Uri with get, set
Public Property ExternalMetadataLocation As Uri
属性值
一个指定 WSDL 文件位置的 URI,为了响应 WSDL 和 MEX 请求,会将此 URI 而不是自动生成的 WSDL 返回给用户。A URI that specifies the location of a WSDL file, which is returned to the user in response to WSDL and MEX requests instead of the auto-generated WSDL. 默认值为 null URI 对象。The default is a null Uri object.
- 属性
注解
如果未设置此属性,则返回自动生成的 WSDL。When this property is not set, the auto-generated WSDL is returned.