MessageTypeValidation MessageTypeValidation MessageTypeValidation Enum


The MessageTypeValidation enumeration contains constant values that specify the types of validation performed on the Service Broker message body.

public enum class MessageTypeValidation
public enum MessageTypeValidation
Public Enum MessageTypeValidation


Empty Empty Empty 2

The message body must be NULL for this message type.

None None None 0

Validation is not performed.

Xml Xml Xml 3

The message body must contain well-formed XML data.

XmlSchemaCollection XmlSchemaCollection XmlSchemaCollection 1

The message body must contain XML that passes validation by the XML schema collection specified for the message type.


The MessageTypeValidation enumeration class is served by the MessageTypeValidation property.

Applies to