Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MetadataResolver.Resolve Method

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

Name Description
MetadataResolver.Resolve (Generic IEnumerable, EndpointAddress) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified metadata address.
MetadataResolver.Resolve (Type, EndpointAddress) Downloads and resolves a metadata address into a collection of ServiceEndpoint objects for a specified contract at a specified address.
MetadataResolver.Resolve (Generic IEnumerable, EndpointAddress, MetadataExchangeClient) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified metadata address and System.ServiceModel.Description.MetadataExchangeClient.
MetadataResolver.Resolve (Generic IEnumerable, Uri, MetadataExchangeClientMode) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified address and transfer mode.
MetadataResolver.Resolve (Type, Uri, MetadataExchangeClientMode) Resolves a metadata address into the ServiceEndpoint objects for the specified contract using the specified address and transfer mode.
MetadataResolver.Resolve (Generic IEnumerable, Uri, MetadataExchangeClientMode, MetadataExchangeClient) Resolves a metadata address into the ServiceEndpoint objects for the specified contracts using the specified address, transfer mode, and transfer client.

If you want 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.

Community Additions

ADD
Show:
© 2015 Microsoft