Partilhar via


<metadata>

Specifies how service metadata can be processed.

Schema Hierarchy

<system.serviceModel>
  <client>

Syntax

<system.serviceModel>
    <client>
        <metadata>
                   <policyImporters>
                          <policyImporter type="string" />
                   </policyImporters
                 <wsdlImporters>
                      <wsdlImporter type="string" />
                 </wsdlImporters>
        </metadata>
    </client>
</system.serviceModel>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

<policyImporters>

Specifies all the policy importers that control the import of custom policy assertions about bindings. A policy importer is used to search custom policy assertions about binding features, as well as attach a custom binding element that implements the features the assertion requires.

<wsdlImporters>

Specifies all the WSDL importers that import Web Services Description Language (WSDL) 1.1 metadata with WS-Policy attachments. A WSDL importer is used to import metadata as well as convert that information into various classes that represent contract and endpoint information. It can selectively import contract and endpoint information and properties that expose any import errors and accept type information relevant to the import and conversion process. It also supports importing binding information and properties that provide access to any policy documents, WSDL documents, WSDL extensions, and XML schema documents.

Parent Elements

Element Description

<client>

The client section defines a list of endpoints that a client can connect to.

See Also

Reference

MetadataElement
PolicyImporterElementCollection
WsdlImporterElementCollection
MetadataImporter
WsdlImporter

Other Resources

WCF Client Configuration
Clients