RulePredicates class

Represents the set of conditions and exceptions available for a rule.
Inheritance

Constructors

RulePredicates()
Initializes a new instance of the

Properties

Categories → StringList
Gets the categories that an incoming message should be stamped with for the condition or exception to apply. To disable this predicate, empty the list.
no setter
categories → StringList
The HasCategories predicate.
final
ContainsBodyStrings → StringList
Gets the strings that should appear in the body of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
containsBodyStrings → StringList
The ContainsBodyStrings predicate.
final
ContainsHeaderStrings → StringList
Gets the strings that should appear in the headers of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
containsHeaderStrings → StringList
The ContainsHeaderStrings predicate.
final
ContainsRecipientStrings → StringList
Gets the strings that should appear in either the To or Cc fields of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
containsRecipientStrings → StringList
The ContainsRecipientStrings predicate.
final
ContainsSenderStrings → StringList
Gets the strings that should appear in the From field of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
containsSenderStrings → StringList
The ContainsSenderStrings predicate.
final
ContainsSubjectOrBodyStrings → StringList
Gets the strings that should appear in either the body or the subject of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
containsSubjectOrBodyStrings → StringList
The ContainsSubjectOrBodyStrings predicate.
final
ContainsSubjectStrings → StringList
Gets the strings that should appear in the subject of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
containsSubjectStrings → StringList
The ContainsSubjectStrings predicate.
final
FlaggedForAction ↔ FlaggedForAction?
Gets or sets the flag for action value that should appear on incoming messages for the condition or execption to apply. To disable this predicate, set it to null.
getter/setter pair
flaggedForAction ↔ FlaggedForAction?
The FlaggedForAction predicate.
getter/setter pair
FromAddresses → EmailAddressCollection
Gets the e-mail addresses of the senders of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
fromAddresses → EmailAddressCollection
The FromAddresses predicate.
final
FromConnectedAccounts → StringList
Gets the e-mail account names from which incoming messages must have been aggregated for the condition or exception to apply. To disable this predicate, empty the list.
no setter
fromConnectedAccounts → StringList
The FromConnectedAccounts predicate.
final
HasAttachments ↔ bool
Gets or sets a value indicating whether incoming messages must have attachments for the condition or exception to apply.
getter/setter pair
hasAttachments ↔ bool
The HasAttachments predicate.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
Importance ↔ Importance?
Gets or sets the importance that should be stamped on incoming messages for the condition or exception to apply. To disable this predicate, set it to null.
getter/setter pair
importance ↔ Importance?
The Importance predicate.
getter/setter pair
IsApprovalRequest ↔ bool
Gets or sets a value indicating whether incoming messages must be approval requests for the condition or exception to apply.
getter/setter pair
isApprovalRequest ↔ bool
The IsApprovalRequest predicate.
getter/setter pair
IsAutomaticForward ↔ bool
Gets or sets a value indicating whether incoming messages must be automatic forwards for the condition or exception to apply.
getter/setter pair
isAutomaticForward ↔ bool
The IsAutomaticForward predicate.
getter/setter pair
IsAutomaticReply ↔ bool
Gets or sets a value indicating whether incoming messages must be automatic replies for the condition or exception to apply.
getter/setter pair
isAutomaticReply ↔ bool
The IsAutomaticReply predicate.
getter/setter pair
IsEncrypted ↔ bool
Gets or sets a value indicating whether incoming messages must be S/MIME encrypted for the condition or exception to apply.
getter/setter pair
isEncrypted ↔ bool
The IsEncrypted predicate.
getter/setter pair
IsMeetingRequest ↔ bool
Gets or sets a value indicating whether incoming messages must be meeting requests for the condition or exception to apply.
getter/setter pair
isMeetingRequest ↔ bool
The IsMeetingRequest predicate.
getter/setter pair
IsMeetingResponse ↔ bool
Gets or sets a value indicating whether incoming messages must be meeting responses for the condition or exception to apply.
getter/setter pair
isMeetingResponse ↔ bool
The IsMeetingResponse predicate.
getter/setter pair
IsNonDeliveryReport ↔ bool
Gets or sets a value indicating whether incoming messages must be non-delivery reports (NDR) for the condition or exception to apply.
getter/setter pair
isNonDeliveryReport ↔ bool
The IsNDR predicate.
getter/setter pair
IsPermissionControlled ↔ bool
Gets or sets a value indicating whether incoming messages must be permission controlled (RMS protected) for the condition or exception to apply.
getter/setter pair
isPermissionControlled ↔ bool
The IsPermissionControlled predicate.
getter/setter pair
IsReadReceipt ↔ bool
Gets or sets a value indicating whether incoming messages must be read receipts for the condition or exception to apply.
getter/setter pair
isReadReceipt ↔ bool
The IsReadReceipt predicate.
getter/setter pair
IsSigned ↔ bool
Gets or sets a value indicating whether incoming messages must be S/MIME signed for the condition or exception to apply.
getter/setter pair
isSigned ↔ bool
The IsSigned predicate.
getter/setter pair
IsVoicemail ↔ bool
Gets or sets a value indicating whether incoming messages must be voice mails for the condition or exception to apply.
getter/setter pair
isVoicemail ↔ bool
The IsVoicemail predicate.
getter/setter pair
ItemClasses → StringList
Gets the item classes that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
itemClasses → StringList
ItemClasses predicate.
final
MessageClassifications → StringList
Gets the message classifications that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
no setter
messageClassifications → StringList
The MessageClassifications predicate.
final
Namespace ↔ XmlNamespace
Gets or sets the namespace.
getter/setter pairinherited
NotSentToMe ↔ bool
Gets or sets a value indicating whether the owner of the mailbox must NOT be a To recipient of the incoming messages for the condition or exception to apply.
getter/setter pair
notSentToMe ↔ bool
The NotSentToMe predicate.
getter/setter pair
OnChangeList ↔ List<IComplexPropertyChangedDelegate>
Occurs when property changed.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Sensitivity ↔ Sensitivity?
Gets or sets the sensitivity that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, set it to null.
getter/setter pair
sensitivity ↔ Sensitivity?
The Sensitivity predicate.
getter/setter pair
SentCcMe ↔ bool
Gets or sets a value indicating whether the owner of the mailbox must be a Cc recipient of incoming messages for the condition or exception to apply.
getter/setter pair
sentCcMe ↔ bool
SentCcMe predicate.
getter/setter pair
SentOnlyToMe ↔ bool
Gets or sets a value indicating whether the owner of the mailbox must be the only To recipient of incoming messages for the condition or exception to apply.
getter/setter pair
sentOnlyToMe ↔ bool
The SentOnlyToMe predicate.
getter/setter pair
SentToAddresses → EmailAddressCollection
Gets the e-mail addresses incoming messages must have been sent to for the condition or exception to apply. To disable this predicate, empty the list.
no setter
sentToAddresses → EmailAddressCollection
The SentToAddresses predicate.
final
SentToMe ↔ bool
Gets or sets a value indicating whether the owner of the mailbox must be a To recipient of incoming messages for the condition or exception to apply.
getter/setter pair
sentToMe ↔ bool
The SentToMe predicate.
getter/setter pair
SentToOrCcMe ↔ bool
Gets or sets a value indicating whether the owner of the mailbox must be either a To or Cc recipient of incoming messages for the condition or exception to apply.
getter/setter pair
sentToOrCcMe ↔ bool
The SentToOrCcMe predicate.
getter/setter pair
WithinDateRange → RulePredicateDateRange
Gets the date range within which incoming messages must have been received for the condition or exception to apply. To disable this predicate, set both its Start and End properties to null.
no setter
withinDateRange → RulePredicateDateRange
The Sensitivity predicate.
final
WithinSizeRange → RulePredicateSizeRange
Gets the minimum and maximum sizes incoming messages must have for the condition or exception to apply. To disable this predicate, set both its MinimumSize and MaximumSize properties to null.
no setter
withinSizeRange → RulePredicateSizeRange
The Sensitivity predicate.
final

Methods

addOnChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
CanSetFieldValue<T>(T field, T value) → bool
Sets value of field.
inherited
Changed() → void
Instance was changed.
inherited
ClearChangeLog() → void
Clears the change log.
inherited
InternalValidate() → void
Validates this instance.
override
LoadFromXml(EwsServiceXmlReader reader, String? xmlElementName) → Future<void>
Loads from XML.
inherited
LoadFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String? xmlElementName) → Future<void>
Loads from XML.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ReadAttributesFromXml(EwsServiceXmlReader reader) → void
Reads the attributes from XML.
inherited
ReadTextValueFromXml(EwsServiceXmlReader reader) → Future<void>
Reads the text value from XML.
inherited
removeChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
toString() → String
A string representation of this object.
inherited
TryReadElementFromXml(EwsServiceXmlReader reader) → Future<bool>
Tries to read element from XML.
override
TryReadElementFromXmlToPatch(EwsServiceXmlReader reader) → Future<bool>
Tries to read element from XML to patch this property.
inherited
UpdateFromXml(EwsServiceXmlReader reader, String xmlElementName) → Future<void>
Loads from XML to update this property.
inherited
UpdateFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName) → Future<void>
Loads from XML to update itself.
inherited
Validate() → void
Implements ISelfValidate.Validate. Validates this instance.
inherited
WriteAttributesToXml(EwsServiceXmlWriter writer) → void
Writes the attributes to XML.
inherited
WriteElementsToXml(EwsServiceXmlWriter writer) → void
Writes elements to XML.
override
WriteToXml(EwsServiceXmlWriter writer, String? xmlElementName) → void
Writes to XML.
inherited
WriteToXmlWithNamespace(EwsServiceXmlWriter writer, XmlNamespace xmlNamespace, String? xmlElementName) → void
Writes to XML.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited