DiscoveryClientProtocol::ReadAll Method (String^)
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)
public: [PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")] 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::DiscoveryClientResultCollection^A 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.
Available since 1.1