RestoreSettings Class

The settings for the ImapClient.Restore method
Inheritance Hierarchy

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

The RestoreSettings type exposes the following members.

Constructors
  NameDescription
Public methodRestoreSettings
Initializes a new instance of the RestoreSettings class
Properties
  NameDescription
Public propertyBeforeItemCallback
The callback called when the next item (message or folder) is processed.
Public propertyConnection
Connection to a server.
Public propertyFolders
A folders to be restored.
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.
Public propertyOptions
Restore options.
Public propertyRecursive
Indicates that nested folders should be also restored
Public propertyRemoveNonexistentFolders
Indicates that mail folders, which do not have the equal folders in the personal storage, should be removed
Public propertyRemoveNonexistentItems
Indicates that mail items, which do not have the equal items in the personal storage, should be removed
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.
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.
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.)
Operators
See Also