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: 1.0.0
Syntax
public bool IsValid(
	out MessageErrorContext result,
	ValidationSettings validationSettings = null
)

Parameters

result  MessageErrorContext
The resulting EDI message context.
validationSettings  ValidationSettings  (Optional)
The validation settings.

Return Value

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