RuleErrorCode Enum

Definition

Defines the error codes that identify why a rule failed validation.

public enum class RuleErrorCode
public enum RuleErrorCode
Public Enum RuleErrorCode
Inheritance
RuleErrorCode

Fields

ADOperationFailure 0

The Active Directory operation failed.

ConnectedAccountNotFound 1

The e-mail account specified in the FromConnectedAccounts property was not found.

CreateWithRuleId 2

You attempted to create a rule with an ID. The IDs of new rules are generated server side and should not be provided by the client.

DuplicatedOperationOnTheSameRule 5

There are multiple operations against the same rule. Only one operation per rule is allowed.

DuplicatedPriority 4

There are multiple rules with the same priority. A priority can have only one rule.

EmptyValueFound 3

The Value property is empty. An empty Value property is not allowed.

FolderDoesNotExist 6

The folder does not exist in the user's mailbox.

InvalidAddress 7

The e-mail address is invalid.

InvalidDateRange 8

The date range is invalid.

InvalidFolderId 9

The folder ID is invalid.

InvalidSizeRange 10

The size range is invalid.

InvalidValue 11

The value is invalid.

MessageClassificationNotFound 12

The message classification was not found.

MissingAction 13

No action was specified. At least one rule action must be specified for validation.

MissingParameter 14

The required parameter is missing.

MissingRangeValue 15

The range value is missing.

NotSettable 16

The property cannot be modified.

RecipientDoesNotExist 17

The recipient does not exist.

RuleNotFound 18

The rule was not found. No rules were found that match the criteria.

SizeLessThanZero 19

The size is less than zero.

StringValueTooBig 20

The string value is too big.

UnexpectedError 22

An unexpected error occurred.

UnsupportedAddress 21

The address is unsupported.

UnsupportedRule 23

The rule is not supported.

Applies to