Click or drag to resize

EdiMessageIsValid Method

Validates a message according to its EDI DOM validation attributes and its structure.

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric (in EdiFabric.dll) Version: (
public bool IsValid(
	out MessageErrorContext result,
	ValidationSettings validationSettings = null


Type: EdiFabric.Core.Model.Edi.ErrorContextsMessageErrorContext
The resulting EDI message context.
validationSettings (Optional)
Type: EdiFabric.Core.Model.EdiValidationSettings
The validation settings.

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