DiscoveryClientProtocol::ReadAll Method
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, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.