DynamicDiscoveryDocument.Load(Stream) Method

Definition

Deserializes an XML document into a DynamicDiscoveryDocument instance.

public:
 static System::Web::Services::Discovery::DynamicDiscoveryDocument ^ Load(System::IO::Stream ^ stream);
public static System.Web.Services.Discovery.DynamicDiscoveryDocument Load (System.IO.Stream stream);
static member Load : System.IO.Stream -> System.Web.Services.Discovery.DynamicDiscoveryDocument
Public Shared Function Load (stream As Stream) As DynamicDiscoveryDocument

Parameters

stream
Stream

A Stream object from which the XML dynamic discovery document is deserialized.

Returns

The DynamicDiscoveryDocument that was loaded.

Remarks

This static method takes an XML document, represented as a Stream, and converts in to a DynamicDiscoveryDocument .

Applies to