Click or drag to resize

MessageErrorContext Methods

The MessageErrorContext type exposes the following members.

Methods
  NameDescription
Public methodAdd(MessageErrorCode)
Adds a syntax error code to the error codes collection.
Public methodAdd(SegmentErrorContext)
Merges EDI segment contexts into the errors collection.
Public methodAddRange(IEnumerableMessageErrorCode)
Merges error codes into the error codes collection.
Public methodAddRange(IEnumerableSegmentErrorContext)
Merges an EDI segment context into the errors collection. There can be only one reference for a segment, containing all the errors for that segment. A segment is identified by its name (or segment ID) and its position.
Public methodFlatten
Flattens the error hierarchy. Iterates through all errors in all contexts and outputs an easy to read error message for each error or code found.
Public methodSort
Sorts the EDI segment error contexts by position
Top
Extension Methods
  NameDescription
Public Extension MethodValidate(SyntaxSet, Char)Overloaded.
Validates an EDI item according to its EDI DOM validation attributes.
(Defined by ValidationExtensions.)
Public Extension MethodValidate(Int32, SyntaxSet, Char, Int32)Overloaded.
Validates an item according to its EDI DOM validation attributes. This is internally called to validate an EdiMessage.
(Defined by ValidationExtensions.)
Top
See Also