This documentation is archived and is not being maintained.
DiscoveryClientProtocol::ReadAll Method
Visual Studio 2010
Reads in a file containing a map of saved discovery documents populating the Documents and References properties, with discovery documents, XML Schema Definition (XSD) schemas, and service descriptions referenced in the file.
Assembly: System.Web.Services (in System.Web.Services.dll)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")] public: DiscoveryClientResultCollection^ ReadAll( String^ topLevelFilename )
Parameters
- topLevelFilename
- Type: System::String
Name of file to read in, containing the map of saved discovery documents.
Return Value
Type: System.Web.Services.Discovery::DiscoveryClientResultCollectionA DiscoveryClientResultCollection containing the results found in the file with the map of saved discovery documents. The file format is a DiscoveryClientProtocol::DiscoveryClientResultsFile class serialized into XML; however, one would typically create the file using only the WriteAll method or Disco.exe.
A file containing a map of saved discovery documents can be created by the WriteAll method or Disco.exe.
The topLevelFilename parameter must include the fully qualified path if the file does not exist in the current directory.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: