UidPlusResult Class |
Namespace: MailBee.ImapMail
The UidPlusResult type exposes the following members.
Name | Description | |
---|---|---|
UidPlusResult | Initializes a new instance of the UidPlusResult class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DestUids |
Gets the UID collection of the messages been uploaded/copied/moved into the target folder.
| |
DestUidString |
Gets the UID sequence of the messages been uploaded/copied/moved into the target folder.
| |
DestUidValidity |
Gets the UIDVALIDITY of the folder the messages have been uploaded/copied/moved into.
| |
IsSupported |
Gets whether UIDPLUS is supported by the server.
| |
IsValid |
Gets whether UIDPLUS info in the response data is valid.
| |
SrcUids |
Gets the UID collection of the messages being copied/moved from the current folder.
| |
SrcUidString |
Gets the UID sequence of the messages being copied/moved from the current folder.
|
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.