DiscoveryDocumentReference.Document Property

Gets the contents of the referenced discovery document as a DiscoveryDocument object.

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

public:
property DiscoveryDocument^ Document {
	DiscoveryDocument^ get ();
}
/** @property */
public DiscoveryDocument get_Document ()

public function get Document () : DiscoveryDocument

Not applicable.

Property Value

A DiscoveryDocument representing the contents of the referenced discovery document.

Exception typeCondition

InvalidOperationException

ClientProtocol property is a null reference (Nothing in Visual Basic).

-or-

An error occurred during the download or resolution of the XSD schema using ClientProtocol.

If the discovery document has not been downloaded and added to the Documents property of ClientProtocol, an attempt to download and resolve the document is made.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: