MailValidatorActivityValidateXmlAttachment Method

Scanjour Workflow4 Reference Manual
Validate the xml attachment against the xml schema.

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_21.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_21.2.0.0.dll) Version: 21.2.0.0 (21.2.0.0)
Syntax

protected bool ValidateXmlAttachment(
	CodeActivityContext context,
	Attachment attachment,
	EmailMessage email
)

Parameters

context
Type: System.ActivitiesCodeActivityContext
The execution context in which the activity executes.
attachment
Type: Attachment
The xml attachment.
email
Type: EmailMessage
The email with the attachment.

Return Value

Type: Boolean
True if the xml attachment is valid.
See Also

Reference