RestoreSettings

RestoreSettings class

The settings for the ImapClient.Restore method

Constructors

NameDescription
RestoreSettings

Methods

NameDescription
BeforeItemCallbackExecutor
get_BeforeItemCallbackThe callback called when the next item (message or folder) is processed.
get_ConnectionConnection to a server.
get_FoldersA folders to be restored.
get_NumberOfAttemptsToRrepeatGets 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.
get_OptionsRestore options.
get_RecursiveIndicates that nested folders should be also restored
get_RemoveNonexistentFoldersIndicates that mail folders, which do not have the equal folders in the personal storage, should be removed
get_RemoveNonexistentItemsIndicates that mail items, which do not have the equal items in the personal storage, should be removed
get_RestoreConnectionGets 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.
get_TimeoutBetweenAttemptsGets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.
set_BeforeItemCallbackThe callback called when the next item (message or folder) is processed.
set_ConnectionConnection to a server.
set_FoldersA folders to be restored.
set_NumberOfAttemptsToRrepeatSets 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.
set_OptionsRestore options.
set_RecursiveIndicates that nested folders should be also restored
set_RemoveNonexistentFoldersIndicates that mail folders, which do not have the equal folders in the personal storage, should be removed
set_RemoveNonexistentItemsIndicates that mail items, which do not have the equal items in the personal storage, should be removed
set_RestoreConnectionSets 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.
set_TimeoutBetweenAttemptsSets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.
to_RestoreSettingsConverts enumerable options to class