 | IExportErrorManagerById Method |
Retrieves a specific error for an export.
Namespace:
EdaIntegrationContract.Exports
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 7.6
SyntaxIExportError ById(
int exportErrorId
)
Parameters
- exportErrorId
- Type: SystemInt32
The unique identifier of the export error to retrieve.
Return Value
Type:
IExportErrorThe requested
IExportError
Exceptions
Examples
The following example demonstrates retrieving a specific error for an export.
using EdaIntegrationContract;
using EdaIntegrationContract.Case;
using EdaIntegrationContract.Exports;
class Sample
{
static void Main()
{
var edaIntegration = new EdaIntegration().ConnectToExplore();
ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
IExport export = edaCase.Exports.ByName("Export-001");
IExportError error = export.Errors.ById(4);
Console.WriteLine("Id: {0}", error.Id);
Console.WriteLine("Message: {0}", error.Message);
Console.WriteLine("Doc Id: {0}", error.DocumentId);
}
}
See Also