|
EdiMessageIsValidAsync Method
|
Validates a message async according to its EDI DOM validation attributes and its structure.
Namespace:
EdiFabric.Core.Model.Edi
Assembly:
EdiFabric (in EdiFabric.dll) Version: 10.4.1.0 (10.4.1.0)
Syntaxpublic Task<Tuple<bool, MessageErrorContext>> IsValidAsync(
ValidationSettings validationSettings = null
)
Public Function IsValidAsync (
Optional validationSettings As ValidationSettings = Nothing
) As Task(Of Tuple(Of Boolean, MessageErrorContext))
Parameters
- validationSettings (Optional)
- Type: EdiFabric.Core.Model.EdiValidationSettings
The validation settings.
Return Value
Type:
TaskTupleBoolean,
MessageErrorContextWhether the EDI message is valid or not and the error context if any errors were found.
See Also