ServiceDescription.Read Method (TextReader, Boolean)

 

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

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

public static ServiceDescription Read(
	TextReader textReader,
	bool validate
)

Parameters

textReader
Type: System.IO.TextReader

A TextReader instance, passed by reference, which contains the text to be read.

validate
Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: