Enum RuleErrorCode
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Defines the error codes identifying why a rule failed validation.
public enum RuleErrorCode
Fields
ADOperationFailure = 0Active Directory operation failed.
ConnectedAccountNotFound = 1The e-mail account specified in the FromConnectedAccounts predicate was not found.
CreateWithRuleId = 2The Rule object in a CreateInboxRuleOperation has an Id. The Ids of new rules are generated server side and should not be provided by the client.
DuplicatedOperationOnTheSameRule = 5There are multiple operations against the same rule. Only one operation per rule is allowed.
DuplicatedPriority = 4There already is a rule with the same priority.
EmptyValueFound = 3The value is empty. An empty value is not allowed for the property.
FolderDoesNotExist = 6The folder does not exist in the user's mailbox.
InvalidAddress = 7The e-mail address is invalid.
InvalidDateRange = 8The date range is invalid.
InvalidFolderId = 9The folder Id is invalid.
InvalidSizeRange = 10The size range is invalid.
InvalidValue = 11The value is invalid.
MessageClassificationNotFound = 12The message classification was not found.
MissingAction = 13No action was specified. At least one action must be specified.
MissingParameter = 14The required parameter is missing.
MissingRangeValue = 15The range value is missing.
NotSettable = 16The property cannot be modified.
RecipientDoesNotExist = 17The recipient does not exist.
RuleNotFound = 18The rule was not found.
SizeLessThanZero = 19The size is less than zero.
StringValueTooBig = 20The string value is too big.
UnexpectedError = 22An unexpected error occured.
UnsupportedAddress = 21The address is unsupported.
UnsupportedRule = 23The rule is not supported.