DataElementErrorContext Class
Click or drag to resize

DataElementErrorContext Class

Information for the position, data and error code of the EDI data element that failed.
Inheritance Hierarchy

Namespace:  EdiFabric.Core.Model.Edi.ErrorContexts
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: (
public sealed class DataElementErrorContext : ErrorContext

The DataElementErrorContext type exposes the following members.

Public methodDataElementErrorContext
Initializes a new instance of the DataElementErrorContext class.
Public propertyCode
The syntax error code.
Public propertyComponentPosition
The component EDI data element position within the composite that is an error.
Public propertyName
The reference number to locate the EDI data element.
Public propertyPosition
The relative position of the simple data element, or the relative position of a composite data structure in error within the segment, count beginning with 1 for the position immediately following the segment ID.
Public propertyRepetitionPosition
The specific repetition of the EDI data element that is an error.
Public propertyValue
The copy of the EDI data element in error.
Extension Methods
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.)
See Also