Export (0) Print
Expand All

ServiceMetadataBehavior.ExternalMetadataLocation Property

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

Namespace: System.ServiceModel.Description
Assembly: System.ServiceModel (in system.servicemodel.dll)

public Uri ExternalMetadataLocation { get; set; }
/** @property */
public Uri get_ExternalMetadataLocation ()

/** @property */
public void set_ExternalMetadataLocation (Uri value)

public function get ExternalMetadataLocation () : Uri

public function set ExternalMetadataLocation (value : Uri)

Not applicable.

Property Value

The location of the service metadata.

Exception typeCondition

ArgumentException

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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft