RuleErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the error codes that identify why a rule failed validation.
public enum class RuleErrorCode
public enum RuleErrorCode
Public Enum RuleErrorCode
- Inheritance
-
RuleErrorCode
Fields
Name | Value | Description |
---|---|---|
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. |
EmptyValueFound | 3 | The Value property is empty. An empty Value property is not allowed. |
DuplicatedPriority | 4 | There are multiple rules with the same priority. A priority can have only one rule. |
DuplicatedOperationOnTheSameRule | 5 | There are multiple operations against the same rule. Only one operation per rule is 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. |
UnsupportedAddress | 21 | The address is unsupported. |
UnexpectedError | 22 | An unexpected error occurred. |
UnsupportedRule | 23 | The rule is not supported. |