| EdiMessageIsValid Method |
Validates a message according to its EDI DOM validation attributes and its structure.
Namespace: EdiFabric.Core.Model.EdiAssembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax public bool IsValid(
out MessageErrorContext result,
ValidationSettings validationSettings = null
)
Public Function IsValid (
<OutAttribute> ByRef result As MessageErrorContext,
Optional validationSettings As ValidationSettings = Nothing
) As Boolean
Parameters
- result MessageErrorContext
- The resulting EDI message context.
- validationSettings ValidationSettings (Optional)
- The validation settings.
Return Value
BooleanWhether the EDI message is valid or not. If not valid then the EDI message error context will contain the reasons.
See Also