MetadataExchangeClient.GetMetadata Method (EndpointAddress, Uri)

.NET Framework (current version)
 

Returns a MetadataSet from the specified address and on the specified route.

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

public MetadataSet GetMetadata(
	EndpointAddress address,
	Uri via
)

Parameters

address
Type: System.ServiceModel.EndpointAddress

The address from which to download the metadata.

via
Type: System.Uri

The URI address that represents the route a message takes.

Return Value

Type: System.ServiceModel.Description.MetadataSet

The metadata that is downloaded.

.NET Framework
Available since 4.0
Return to top
Show: