UidPlusResult Class
Represents a set of UIDs assigned to the copied or uploaded messages and other related information returned by the IMAP4 server which supports UIDPLUS extension.
Inheritance Hierarchy
SystemObject
  MailBee.ImapMailUidPlusResult

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public class UidPlusResult

The UidPlusResult type exposes the following members.

Constructors
  NameDescription
Public methodUidPlusResult
Initializes a new instance of the UidPlusResult class
Top
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.)
Top
Properties
  NameDescription
Public propertyDestUids
Gets the UID collection of the messages been uploaded/copied/moved into the target folder.
Public propertyDestUidString
Gets the UID sequence of the messages been uploaded/copied/moved into the target folder.
Public propertyDestUidValidity
Gets the UIDVALIDITY of the folder the messages have been uploaded/copied/moved into.
Public propertyIsSupported
Gets whether UIDPLUS is supported by the server.
Public propertyIsValid
Gets whether UIDPLUS info in the response data is valid.
Public propertySrcUids
Gets the UID collection of the messages being copied/moved from the current folder.
Public propertySrcUidString
Gets the UID sequence of the messages being copied/moved from the current folder.
Top
Remarks

If the server supports UIDPLUS extension (RFC2359), this allows the client (MailBee) to obtain the information about UIDs of uploaded, copied, or moved messages, which may be useful if the application needs to save this information somewhere (usually, in a database). In this case, the developer can pass a reference to the UidPlusResult object instance to the corresponding method of Imap class (such as UploadMessage(MailMessage, String, String, String, Boolean, UidPlusResult)), call the method, and then examine the UidPlusResult object properties.

If, however, the server does not support UIDPLUS, the application may fall back to using UIDNEXT value to learn UID to be assigned to any new message in the folder. See the sample code and remarks in UploadMessage(MailMessage, String, String, String, Boolean, UidPlusResult) topic for details.

See Also