Edita

Comparteix a través de


ServiceMetadataBehavior.ExternalMetadataLocation Property

Definition

Gets or sets a value that is the location of service metadata.

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

Property Value

Uri

The location of the service metadata.

Attributes

Exceptions

The value is absolute and the schema is neither http nor https.

Remarks

Returns a reference to an external metadata location to clients. The ExternalMetadataLocation property can be relative or absolute. If relative, the address is resolved by the client relative to the HttpGetUrl or HttpsGetUrl, depending on how the client retrieved the metadata.

Applies to