IExportErrorManagerAll Method |
Namespace: EdaIntegrationContract.Exports
IEnumerable<IExportError> All( IExceptionFilter filter = null )
using EdaIntegrationContract; using EdaIntegrationContract.Case; using EdaIntegrationContract.Exports; class Sample { static void Main() { var edaIntegration = new EdaIntegration().ConnectToExplore(); // Get the export ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); IExport export = edaCase.Exports.ByName("Export-001"); foreach (IExportError error in export.Errors.All()) { Console.WriteLine("Id: {0}", error.Id); Console.WriteLine("Message: {0}", error.Message); Console.WriteLine("Doc Id: {0}", error.DocumentId); Console.WriteLine(""); } } } /* This example produces the following results: Id: 3 Message: Source file not found. \\NetworkDrive\Folder1\Folder2\Documents\samples.pst Doc Id: 24 Id: 4 Message: Source file not found. \\NetworkDrive\Folder1\Folder2\Documents\samples.pst Doc Id: 25 */