Represents a inbox rule More...
Inherits Object.
Public Member Functions | |
System::String | get_RuleId () const |
Gets the rule identifier. More... | |
void | set_RuleId (System::String value) |
Sets the rule identifier. More... | |
System::String | get_DisplayName () const |
Gets the display name of a rule. More... | |
void | set_DisplayName (System::String value) |
Sets the display name of a rule. More... | |
int32_t | get_Priority () const |
Gets a value that indicates the order in which a rule is to be run. More... | |
void | set_Priority (int32_t value) |
Sets a value that indicates the order in which a rule is to be run. More... | |
bool | get_IsEnabled () const |
Gets a value indicating whether the rule is enabled. More... | |
void | set_IsEnabled (bool value) |
Sets a value indicating whether the rule is enabled. More... | |
System::Nullable< bool > | get_IsReadOnly () const |
Gets a value indicating whether the rule is read-only. More... | |
void | set_IsReadOnly (System::Nullable< bool > value) |
Sets a value indicating whether the rule is read-only. More... | |
bool | get_IsNotSupported () const |
Gets a value indicating whether the rule cannot be modified with the managed code APIs. More... | |
void | set_IsNotSupported (bool value) |
Gets a value indicating whether the rule cannot be modified with the managed code APIs. More... | |
bool | get_IsInError () const |
Gets a value indicating whether the rule is in an error condition. More... | |
void | set_IsInError (bool value) |
Gets a value indicating whether the rule is in an error condition. More... | |
System::SharedPtr< RulePredicates > | get_Conditions () const |
Gets the conditions that, when fulfilled, will trigger the rule actions for that rule. More... | |
void | set_Conditions (System::SharedPtr< RulePredicates > value) |
Sets the conditions that, when fulfilled, will trigger the rule actions for that rule. More... | |
System::SharedPtr< RulePredicates > | get_Exceptions () const |
Gets the exceptions that represent all the available rule exception conditions for the inbox rule. More... | |
void | set_Exceptions (System::SharedPtr< RulePredicates > value) |
Sets the exceptions that represent all the available rule exception conditions for the inbox rule. More... | |
System::SharedPtr< RuleActions > | get_Actions () const |
Gets the actions to be taken on a message when the conditions are fulfilled. More... | |
void | set_Actions (System::SharedPtr< RuleActions > value) |
Sets the actions to be taken on a message when the conditions are fulfilled. More... | |
InboxRule () | |
Initializes a new instance of the InboxRule class More... | |
Static Public Member Functions | |
static System::SharedPtr< InboxRule > | CreateRuleMoveFrom (System::SharedPtr< MailAddress > from, System::String destinationFolderId) |
Creates inbox rule that moves messages from specified senders into the specified folder More... | |
static System::SharedPtr< InboxRule > | CreateRuleDeleteFrom (System::SharedPtr< MailAddress > from) |
Creates inbox rule that deletes messages from specified senders More... | |
static System::SharedPtr< InboxRule > | CreateRuleMoveContaining (System::ArrayPtr< System::String > filter, System::String destinationFolderId) |
Creates inbox rule that moves messages containing the specified strings in either the body or the subject into the specified folder More... | |
static System::SharedPtr< InboxRule > | CreateRuleDeleteContaining (System::ArrayPtr< System::String > filter) |
Creates inbox rule that deletes messages containing the specified strings in either the body or the subject More... | |
Friends | |
class | Aspose::Email::Clients::Exchange::WebService::EWSClient2010 |
class | Aspose::Email::Clients::Graph::V1::Model::TLMessageRule |
Represents a inbox rule
Aspose::Email::Clients::Exchange::InboxRule::InboxRule | ( | ) |
Initializes a new instance of the InboxRule class
|
static |
Creates inbox rule that deletes messages containing the specified strings in either the body or the subject
filter | A strings to search |
AsposeArgumentException | filter is null or empty |
|
static |
Creates inbox rule that deletes messages from specified senders
from | A EmailAddress of sender |
AsposeArgumentNullException | from is null |
|
static |
Creates inbox rule that moves messages containing the specified strings in either the body or the subject into the specified folder
filter | A strings to search |
destinationFolderId | An id of folder in which messages will be moved |
AsposeArgumentException | filter is null or empty |
AsposeArgumentException | destinationFolderId is null or empty |
|
static |
Creates inbox rule that moves messages from specified senders into the specified folder
from | A EmailAddress of sender |
destinationFolderId | An id of folder in which messages will be moved |
AsposeArgumentNullException | from is null |
AsposeArgumentException | destinationFolderId is null or empty |
System::SharedPtr<RuleActions> Aspose::Email::Clients::Exchange::InboxRule::get_Actions | ( | ) | const |
Gets the actions to be taken on a message when the conditions are fulfilled.
System::SharedPtr<RulePredicates> Aspose::Email::Clients::Exchange::InboxRule::get_Conditions | ( | ) | const |
Gets the conditions that, when fulfilled, will trigger the rule actions for that rule.
System::String Aspose::Email::Clients::Exchange::InboxRule::get_DisplayName | ( | ) | const |
Gets the display name of a rule.
System::SharedPtr<RulePredicates> Aspose::Email::Clients::Exchange::InboxRule::get_Exceptions | ( | ) | const |
Gets the exceptions that represent all the available rule exception conditions for the inbox rule.
bool Aspose::Email::Clients::Exchange::InboxRule::get_IsEnabled | ( | ) | const |
Gets a value indicating whether the rule is enabled.
bool Aspose::Email::Clients::Exchange::InboxRule::get_IsInError | ( | ) | const |
Gets a value indicating whether the rule is in an error condition.
bool Aspose::Email::Clients::Exchange::InboxRule::get_IsNotSupported | ( | ) | const |
Gets a value indicating whether the rule cannot be modified with the managed code APIs.
System::Nullable<bool> Aspose::Email::Clients::Exchange::InboxRule::get_IsReadOnly | ( | ) | const |
Gets a value indicating whether the rule is read-only.
int32_t Aspose::Email::Clients::Exchange::InboxRule::get_Priority | ( | ) | const |
Gets a value that indicates the order in which a rule is to be run.
System::String Aspose::Email::Clients::Exchange::InboxRule::get_RuleId | ( | ) | const |
Gets the rule identifier.
void Aspose::Email::Clients::Exchange::InboxRule::set_Actions | ( | System::SharedPtr< RuleActions > | value | ) |
Sets the actions to be taken on a message when the conditions are fulfilled.
void Aspose::Email::Clients::Exchange::InboxRule::set_Conditions | ( | System::SharedPtr< RulePredicates > | value | ) |
Sets the conditions that, when fulfilled, will trigger the rule actions for that rule.
void Aspose::Email::Clients::Exchange::InboxRule::set_DisplayName | ( | System::String | value | ) |
Sets the display name of a rule.
void Aspose::Email::Clients::Exchange::InboxRule::set_Exceptions | ( | System::SharedPtr< RulePredicates > | value | ) |
Sets the exceptions that represent all the available rule exception conditions for the inbox rule.
void Aspose::Email::Clients::Exchange::InboxRule::set_IsEnabled | ( | bool | value | ) |
Sets a value indicating whether the rule is enabled.
void Aspose::Email::Clients::Exchange::InboxRule::set_IsInError | ( | bool | value | ) |
Gets a value indicating whether the rule is in an error condition.
void Aspose::Email::Clients::Exchange::InboxRule::set_IsNotSupported | ( | bool | value | ) |
Gets a value indicating whether the rule cannot be modified with the managed code APIs.
void Aspose::Email::Clients::Exchange::InboxRule::set_IsReadOnly | ( | System::Nullable< bool > | value | ) |
Sets a value indicating whether the rule is read-only.
void Aspose::Email::Clients::Exchange::InboxRule::set_Priority | ( | int32_t | value | ) |
Sets a value that indicates the order in which a rule is to be run.
void Aspose::Email::Clients::Exchange::InboxRule::set_RuleId | ( | System::String | value | ) |
Sets the rule identifier.
|
friend |
|
friend |