Export (0) Print
Expand All

MetadataSet Class

Represents a serializable collection of service metadata in XML form.

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

public class MetadataSet : IXmlSerializable

The MetadataSet class contains a collection of MetadataSection objects, each of which contains one dialect of metadata in XML form. Typically, the MetadataSet class is used to pass a group of XML metadata documents to and from MetadataExporter and MetadataImporter objects, such as WsdlImporter and WsdlExporter.

To create a MetadataSet from a IEnumerable<T> object of type MetadataSection, use the MetadataSet constructor. To obtain a IEnumerable<T> object of type MetadataSection, use the MetadataSections property.

In addition, you can use the ReadFrom method to load a MetadataSet from XML data and the WriteTo method to write the internal metadata to an XML format.

This type implements the structure defined in the WS-MetadataExchange specification.

System.Object
  System.ServiceModel.Description.MetadataSet

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft