Class contains options for backup operation More...
Inherits Object.
Public Member Functions | |
bool | get_ExecuteRecursively () |
Gets value which defines if backup should be executed recursively More... | |
void | set_ExecuteRecursively (bool value) |
Sets value which defines if backup should be executed recursively More... | |
bool | get_RestoreConnection () |
Gets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option. More... | |
void | set_RestoreConnection (bool value) |
Sets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option. More... | |
int32_t | get_NumberOfAttemptsToRrepeat () |
Gets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times. For instance if FETCH operation returns error AE_1_1_0243 FETCH 219 (BODY) AE_1_1_0243 NO[UNAVAILABLE] FETCH Service is temporarily not available Client tries to execute it again. More... | |
void | set_NumberOfAttemptsToRrepeat (int32_t value) |
Sets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times. For instance if FETCH operation returns error AE_1_1_0243 FETCH 219 (BODY) AE_1_1_0243 NO[UNAVAILABLE] FETCH Service is temporarily not available Client tries to execute it again. More... | |
int32_t | get_TimeoutBetweenAttempts () |
Gets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option. More... | |
void | set_TimeoutBetweenAttempts (int32_t value) |
Sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option. More... | |
BackupSettings () | |
Initializes a new instance of the BackupSettings class More... | |
BackupSettings (Storage::Pst::BackupOptions options) | |
Initializes a new instance of the BackupSettings class More... | |
BackupSettings (bool executeRecursively, bool restoreConnection, int32_t numberOfAttempts, int32_t timeoutBetweenAttempts) | |
Initializes a new instance of the BackupSettings class More... | |
Static Public Member Functions | |
static System::SharedPtr< BackupSettings > | get_Default () |
Gets BackupSettings class with settings by default More... | |
static System::SharedPtr< BackupSettings > | to_BackupSettings (Storage::Pst::BackupOptions options) |
Class contains options for backup operation
Aspose::Email::Clients::Imap::BackupSettings::BackupSettings | ( | ) |
Initializes a new instance of the BackupSettings class
Aspose::Email::Clients::Imap::BackupSettings::BackupSettings | ( | Storage::Pst::BackupOptions | options | ) |
Initializes a new instance of the BackupSettings class
options | enumerates backup options |
Aspose::Email::Clients::Imap::BackupSettings::BackupSettings | ( | bool | executeRecursively, |
bool | restoreConnection, | ||
int32_t | numberOfAttempts, | ||
int32_t | timeoutBetweenAttempts | ||
) |
Initializes a new instance of the BackupSettings class
executeRecursively | defines if backup should be executed recursively |
restoreConnection | defines if connection has to be restored in case if server closes connection forcibly |
numberOfAttempts | defines number of attempts to repeat failed operation |
timeoutBetweenAttempts | defines timeout (in milliseconds) between attemptions to execute operation again |
|
static |
Gets BackupSettings class with settings by default
bool Aspose::Email::Clients::Imap::BackupSettings::get_ExecuteRecursively | ( | ) |
Gets value which defines if backup should be executed recursively
int32_t Aspose::Email::Clients::Imap::BackupSettings::get_NumberOfAttemptsToRrepeat | ( | ) |
Gets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times. For instance if FETCH operation returns error AE_1_1_0243 FETCH 219 (BODY) AE_1_1_0243 NO[UNAVAILABLE] FETCH Service is temporarily not available Client tries to execute it again.
bool Aspose::Email::Clients::Imap::BackupSettings::get_RestoreConnection | ( | ) |
Gets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option.
int32_t Aspose::Email::Clients::Imap::BackupSettings::get_TimeoutBetweenAttempts | ( | ) |
Gets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.
void Aspose::Email::Clients::Imap::BackupSettings::set_ExecuteRecursively | ( | bool | value | ) |
Sets value which defines if backup should be executed recursively
void Aspose::Email::Clients::Imap::BackupSettings::set_NumberOfAttemptsToRrepeat | ( | int32_t | value | ) |
Sets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times. For instance if FETCH operation returns error AE_1_1_0243 FETCH 219 (BODY) AE_1_1_0243 NO[UNAVAILABLE] FETCH Service is temporarily not available Client tries to execute it again.
void Aspose::Email::Clients::Imap::BackupSettings::set_RestoreConnection | ( | bool | value | ) |
Sets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option.
void Aspose::Email::Clients::Imap::BackupSettings::set_TimeoutBetweenAttempts | ( | int32_t | value | ) |
Sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.
|
static |