RestoreSettings Class

The settings for the ImapClient.Restore method
Inheritance Hierarchy

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Operators
See Also