Click or drag to resize

EdiMessageValidateSegments Method

Validates an EDI message according to its EDI DOM validation attributes. This is called by IsValid() to validate all the segments in the message.

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (9.8.6.0)
Syntax
public List<SegmentErrorContext> ValidateSegments(
	out int segmentsCount,
	ValidationSettings validationSettings = null
)

Parameters

segmentsCount
Type: SystemInt32
The number of EDI segments that were validated.
validationSettings (Optional)
Type: EdiFabric.Core.Model.EdiValidationSettings
The validation settings.

Return Value

Type: ListSegmentErrorContext
A list of EDI segment error contexts. The list is empty if the item is valid.
See Also