Export (0) Print
Expand All

MetadataResolver.Resolve Method

Downloads and resolves a metadata address into the ServiceEndpoint objects for that service.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Resolve(IEnumerable<ContractDescription>, EndpointAddress) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified metadata address.
Public method Static member Resolve(Type, EndpointAddress) Downloads and resolves a metadata address into a collection of ServiceEndpoint objects for a specified contract at a specified address.
Public method Static member Resolve(IEnumerable<ContractDescription>, EndpointAddress, MetadataExchangeClient) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified metadata address and System.ServiceModel.Description.MetadataExchangeClient.
Public method Static member Resolve(IEnumerable<ContractDescription>, Uri, MetadataExchangeClientMode) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified address and transfer mode.
Public method Static member Resolve(Type, Uri, MetadataExchangeClientMode) Resolves a metadata address into the ServiceEndpoint objects for the specified contract using the specified address and transfer mode.
Public method Static member Resolve(IEnumerable<ContractDescription>, Uri, MetadataExchangeClientMode, MetadataExchangeClient) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified address, transfer mode, and transfer client.
Top

To download metadata but not resolve the information into ServiceEndpoint objects, use the System.ServiceModel.Description.MetadataExchangeClient directly.

For all synchronous and asynchronous Resolve methods, an empty collection is returned if no endpoints were imported or if no endpoints matched the contract. If an empty collection is returned, a warning trace is written.

Show:
© 2014 Microsoft