Export (0) Print
Expand All

ServiceDescription.Read Method (XmlReader, Boolean)

Initializes an instance of the ServiceDescription class by directly loading the XML from an XmlReader.

Namespace:  System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public static ServiceDescription Read(
	XmlReader reader,
	bool validate


Type: System.Xml.XmlReader

An XmlReader, passed by reference, which contains the XML data to be read.

Type: System.Boolean

A Boolean that indicates whether the XML should be validated against the schema specified by Schema.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft