RestoreSettings
Contents
[
Hide
]RestoreSettings class
The settings for the ImapClient.Restore method
Constructors
| Name | Description |
|---|---|
| RestoreSettings |
Methods
| Name | Description |
|---|---|
| BeforeItemCallbackExecutor | |
| get_BeforeItemCallback | The callback called when the next item (message or folder) is processed. |
| get_Connection | Connection to a server. |
| get_Folders | A folders to be restored. |
| 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. |
| get_Options | Restore options. |
| get_Recursive | Indicates that nested folders should be also restored |
| get_RemoveNonexistentFolders | Indicates that mail folders, which do not have the equal folders in the personal storage, should be removed |
| get_RemoveNonexistentItems | Indicates that mail items, which do not have the equal items in the personal storage, should be removed |
| 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. |
| 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. |
| set_BeforeItemCallback | The callback called when the next item (message or folder) is processed. |
| set_Connection | Connection to a server. |
| set_Folders | A folders to be restored. |
| set_NumberOfAttemptsToRrepeat | 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. |
| set_Options | Restore options. |
| set_Recursive | Indicates that nested folders should be also restored |
| set_RemoveNonexistentFolders | Indicates that mail folders, which do not have the equal folders in the personal storage, should be removed |
| set_RemoveNonexistentItems | Indicates that mail items, which do not have the equal items in the personal storage, should be removed |
| set_RestoreConnection | 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. |
| set_TimeoutBetweenAttempts | Sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option. |
| to_RestoreSettings | Converts enumerable options to class |