Click or drag to resize

SegmentErrorContext Class

Information for the data, error codes and the context of the EDI segments that failed.
Inheritance Hierarchy
SystemObject
  EdiFabric.Core.Model.Edi.ErrorContextsErrorContext
    EdiFabric.Core.Model.Edi.ErrorContextsSegmentErrorContext

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 SegmentErrorContext : ErrorContext

The SegmentErrorContext type exposes the following members.

Constructors
  NameDescription
Public methodSegmentErrorContext
Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, TypeInfo)
Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, TypeInfo, SegmentErrorCode, String)
Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, TypeInfo, String, String)
Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, TypeInfo, String, SegmentErrorCode, String)
Initializes a new instance of the SegmentErrorContext class.
Top
Properties
  NameDescription
Public propertyCodes
The syntax error codes.
Public propertyErrors
The EDI data element error contexts.
Public propertyName
The EDI segment ID.
Public propertyPosition
The numerical count position of the EDI segment from the start of the EDI transaction set. The EDI transaction set header is count position 1.
Public propertySpecType
The EDI segment type in the spec.
Public propertyValue
The EDI segment line.
Top
Methods
  NameDescription
Public methodAdd(DataElementErrorContext)
Adds a new EDI data element context into the errors collection.
Public methodAdd(SegmentErrorCode)
Adds a syntax error code to the error codes collection.
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