Click or drag to resize

DataElementErrorContext Class

Information for the position, data and error code of the EDI data element that failed.
Inheritance Hierarchy
SystemObject
  EdiFabric.Core.Model.Edi.ErrorContextsErrorContext
    EdiFabric.Core.Model.Edi.ErrorContextsDataElementErrorContext

Namespace:  EdiFabric.Core.Model.Edi.ErrorContexts
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (9.7.8.0)
Syntax
[SerializableAttribute]
public sealed class DataElementErrorContext : ErrorContext

The DataElementErrorContext type exposes the following members.

Constructors
  NameDescription
Public methodDataElementErrorContext
Initializes a new instance of the DataElementErrorContext class.
Top
Properties
  NameDescription
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.
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