Error

The Error element represents a single validation error on a particular rule property value, predicate property value, or action property value.

<Error>
   <FieldUri/>
   <ErrorCode/>
   <ErrorMessage/>
   <FieldValue/>
</Error>

RuleValidationErrorType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
FieldUri (Rule)
Specifies the URI to the rule field that caused the validation error.
ErrorCode
Represents a rule validation error code that describes what failed validation for each rule predicate or action.
ErrorMessage
Represents the reason for the validation error.
FieldValue
Represents the value of the field that caused the validation error.

Parent elements

Element Description
ValidationErrors
Represents an array of rule validation errors on each rule field that has an error.

Text value

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
True

See also