DiscoveryDocument.Read Method (TextReader)

 

Reads and returns a DiscoveryDocument from the passed TextReader.

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

static member Read : 
        reader:TextReader -> DiscoveryDocument

Parameters

reader
Type: System.IO.TextReader

The TextReader from which to read the DiscoveryDocument.

Return Value

Type: System.Web.Services.Discovery.DiscoveryDocument

A 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: