Click or drag to resize

EdiMessageIsValid Method

Validates a message according to its EDI DOM validation attributes.

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: (
public bool IsValid(
	out MessageErrorContext result,
	bool skipTrailer = false,
	SyntaxSet syntaxSet = null,
	char decimalPoint = '.'


Type: EdiFabric.Core.Model.Edi.ErrorContextsMessageErrorContext
The resulting EDI message context.
skipTrailer (Optional)
Type: SystemBoolean
Whether to validate the EDI trailer. Skip when validating custom created EDI messages.
syntaxSet (Optional)
Type: EdiFabric.Core.Model.EdiSyntaxSet
The alpha-numeric EDI validator.
decimalPoint (Optional)
Type: SystemChar
The decimal point to use.

Return Value

Type: Boolean
Whether the EDI message is valid or not. If not valid then the EDI message error context will contain the reasons.
See Also