MetadataSet.ReadFrom Method (XmlReader)

 

Returns a MetadataSet from the specified XmlReader object.

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

public static MetadataSet ReadFrom(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

The reader to read in XML.

Return Value

Type: System.ServiceModel.Description.MetadataSet

A MetadataSet that contains all the metadata present in the XML stream.

Exception Condition
ArgumentNullException

The reader is null.

Creates a MetadataSet from an XmlReader object.

.NET Framework
Available since 3.0
Return to top
Show: