System.ServiceModel 4.0.0.0 System.Object

Use an implementation of the abstract class to import service metadata. Types that derive from the class implement support for importing metadata formats that take advantage of the WS-Policy import logic in indigo1.

A implementation collects the policy expressions attached to the service metadata in a object. The then processes the policies as part of importing the metadata by calling the implementations of the interface in the property.

You can add support for importing new policy assertions to a by adding your own implementation of the interface to the property on a instance. Alternatively, you can register your policy import extension in your application configuration file.

The type is the implementation of the abstract class included with indigo2. The type imports WSDL metadata with attached policies that are bundled in a object.

You can add support for importing WSDL extensions by implementing the interface and then adding your implementation to the property on your instance. The can also load implementations of the interface registered in your application configuration file.

Because the constructor is internal, you cannot derive from in this version.

Imports metadata into objects.

- Property
  4.0.0.0
  System.Collections.ObjectModel.Collection<System.ServiceModel.Description.MetadataConversionError> To be added.

  Always check the property after importing metadata and before using the metadata.

  Gets a value that indicates whether there were errors importing the metadata.

- Method
  4.0.0.0
  System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ContractDescription> To be added.

  When overridden in a derived class, returns a collection of contracts imported from the metadata.

  The contracts imported from the metadata.

- Method
  4.0.0.0
  System.ServiceModel.Description.ServiceEndpointCollection

  Implement the method to return all endpoints in the imported metadata. Metadata that has been imported as service endpoints cannot be used to create a runtime or export metadata because the imported endpoints contain no managed type information. To use the metadata to create a client or service runtime or to generate metadata, you must first generate and compile code from the metadata and use that type information to create a new object using .

  When overridden in a derived class, returns all endpoints in the metadata.

  A collection of objects that are published by a service.

- Property
  4.0.0.0
  System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName,System.ServiceModel.Description.ContractDescription> To be added.

  Use the property to add or remove contract descriptions and their associated XML names that the importer can reference.

  Gets a dictionary of contracts by name that the importer knows about.

- Property
  4.0.0.0
  System.Collections.Generic.KeyedByTypeCollection<System.ServiceModel.Description.IPolicyImportExtension> To be added.

  Use the property to add or remove policy importers that are invoked to process policy assertions in the metadata.

  Gets a collection of policy importers that the importer calls to process policy assertions.

- Property
  4.0.0.0
  System.Collections.Generic.Dictionary<System.Object,System.Object> To be added.

  Use the State property to add or remove objects used in the importing of metadata.

  Gets or sets a collection of objects used in the importing of metadata.