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 (in EdiFabric.dll) Version: 1.0.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, String, TypeInfo) Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, String, TypeInfo, SegmentErrorCode, String) Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, String, TypeInfo, String, String) Initializes a new instance of the SegmentErrorContext class.
Public methodSegmentErrorContext(String, Int32, String, 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 propertyLoopId The Loop ID.
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 propertySpecRef The spec reference.
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
See Also