Click or drag to resize

EdiMessageIsValidAsync Method

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

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 9.8.7.5 (9.8.7.5)
Syntax
public Task<Tuple<bool, MessageErrorContext>> IsValidAsync(
	ValidationSettings validationSettings = null
)

Parameters

validationSettings (Optional)
Type: EdiFabric.Core.Model.EdiValidationSettings
The validation settings.

Return Value

Type: TaskTupleBoolean, MessageErrorContext
Whether the EDI message is valid or not and the error context if any errors were found.
See Also