Count Changed Idle Event Class
A notification that the number of messages in a folder has changed.
Definition
Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public sealed class CountChangedIdleEvent : ImapIdleEvent- Inheritance
- Object ImapIdleEvent CountChangedIdleEvent
Remarks
Reported when the server sends an EXISTS response, when messages are expunged or vanish, or when a NOTIFYSTATUS update changes the message count of another folder.
If Count is greater than PreviousCount, new messages have arrived and can be fetched starting at index PreviousCount.
Constructors
| CountChangedIdleEvent | Initialize a new instance of the CountChangedIdleEvent class. |
Properties
| Count | Get the number of messages in the folder after the change. |
| Folder |
Get the folder that the change applies to.
(Inherited from ImapIdleEvent) |
| PreviousCount | Get the number of messages in the folder before the change. |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |