Class RestoreSettingsAsync
Contents
[
Hide
]RestoreSettingsAsync class
The settings for the ImapClient.Restore async method.
public class RestoreSettingsAsync : RestoreSettings
Constructors
Name | Description |
---|---|
RestoreSettingsAsync() | Initializes a new instance of the RestoreSettingsAsync class. |
Properties
Name | Description |
---|---|
BeforeItemCallback { get; set; } | The callback called when the next item (message or folder) is processed. |
Callback { get; set; } | References a method to be called when a corresponding asynchronous operation completes. |
Connection { get; set; } | Connection to a server. |
Folders { get; set; } | A folders to be restored. |
NumberOfAttemptsToRrepeat { get; set; } | Gets or 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. |
Options { get; set; } | Restore options. |
Recursive { get; set; } | Indicates that nested folders should be also restored |
RemoveNonexistentFolders { get; set; } | Indicates that mail folders, which do not have the equal folders in the personal storage, should be removed |
RemoveNonexistentItems { get; set; } | Indicates that mail items, which do not have the equal items in the personal storage, should be removed |
RestoreConnection { get; set; } | Gets or 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. |
State { get; set; } | The state. |
TimeoutBetweenAttempts { get; set; } | Gets or sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option. |
See Also
- class RestoreSettings
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email