RestoreSettingsAsync Class

The settings for the ImapClient.Restore async method.
Inheritance Hierarchy

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public class RestoreSettingsAsync : RestoreSettings

The RestoreSettingsAsync type exposes the following members.

Constructors
  NameDescription
Public methodRestoreSettingsAsync
Initializes a new instance of the RestoreSettingsAsync class.
Properties
  NameDescription
Public propertyBeforeItemCallback
The callback called when the next item (message or folder) is processed.
(Inherited from RestoreSettings.)
Public propertyCallback
References a method to be called when a corresponding asynchronous operation completes.
Public propertyConnection
Connection to a server.
(Inherited from RestoreSettings.)
Public propertyFolders
A folders to be restored.
(Inherited from RestoreSettings.)
Public propertyNumberOfAttemptsToRrepeat
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.
(Inherited from RestoreSettings.)
Public propertyOptions
Restore options.
(Inherited from RestoreSettings.)
Public propertyRecursive
Indicates that nested folders should be also restored
(Inherited from RestoreSettings.)
Public propertyRemoveNonexistentFolders
Indicates that mail folders, which do not have the equal folders in the personal storage, should be removed
(Inherited from RestoreSettings.)
Public propertyRemoveNonexistentItems
Indicates that mail items, which do not have the equal items in the personal storage, should be removed
(Inherited from RestoreSettings.)
Public propertyRestoreConnection
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.
(Inherited from RestoreSettings.)
Public propertyState
The state.
Public propertyTimeoutBetweenAttempts
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.
(Inherited from RestoreSettings.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also