Click or drag to resize

ErrorManager Class

This is the class that handles the errors of the engines process.
Inheritance Hierarchy
SystemObject
  FileHelpersErrorManager

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public sealed class ErrorManager : IEnumerable

The ErrorManager type exposes the following members.

Constructors
  NameDescription
Public methodErrorManager
Initializes a new instance of the ErrorManager class.
Public methodErrorManager(ErrorMode)
Initializes a new instance of the ErrorManager class. with the specified ErrorMode.
Top
Properties
  NameDescription
Public propertyErrorCount
Number of contained errors.
Public propertyErrorLimit
Maximum number of recorded errors. After this limit is reached, successive errors are ignored.
Public propertyErrorMode
Indicates the behavior of the FileHelperEngine when it found an error.
Public propertyErrors
Is an array of ErrorInfo that contains the errors of the last operation in this class.
Public propertyHasErrors
Indicates if contains one or more errors.
Top
Methods
  NameDescription
Public methodClearErrors
Clears the error collection.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodStatic memberLoadErrors
Load errors from a file.
Public methodSaveErrors(String)
Saves the contained errors to the specified file.
Public methodSaveErrors(String, String)
Saves the contained errors to the specified file.
Top
Remarks
All the engines and DataStorage utilities contains an ErrorManager.
See Also