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

Parameters

result
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