DiscoveryDocument.Read Method (TextReader)
.NET Framework (current version)
Reads and returns a DiscoveryDocument from the passed TextReader.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- reader
-
Type:
System.IO.TextReader
The TextReader from which to read the DiscoveryDocument.
Return Value
Type: System.Web.Services.Discovery.DiscoveryDocumentA DiscoveryDocument containing the contents of a discovery document from the passed TextReader.
The following code example reads the discovery document from " http://localhost/example_Write2_cs.vsdisco " into a XmlTextReader.
.NET Framework
Available since 1.1
Available since 1.1
Show: