Click or drag to resize

SegmentErrorContext Class

Information for the data, error codes and the context of the 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.2.0
Syntax
public sealed class SegmentErrorContext : ErrorContext

The SegmentErrorContext type exposes the following members.

Constructors
  NameDescription
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 data element error contexts.
Public propertyName
The segment ID.
Public propertyPosition
The numerical count position of the segment from the start of the transaction set. The transaction set header is count position 1.
Public propertySpecType
The segment type in the spec.
Public propertyValue
The segment line.
Top
Methods
  NameDescription
Public methodAdd(DataElementErrorContext)
Adds a new data element context into the errors collection.
Public methodAdd(SegmentErrorCode)
Adds a syntax error code to the error codes collection.
Top
See Also