Count Changed Idle Event Constructor
Initialize a new instance of the CountChangedIdleEvent class.
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 CountChangedIdleEvent(
IMailFolder folder,
int previousCount,
int count
)Parameters
- folder IMailFolder
- The folder.
- previousCount Int32
- The number of messages in the folder before the change.
- count Int32
- The number of messages in the folder after the change.
Remarks
Creates a new CountChangedIdleEvent.
Exceptions
| ArgumentNullException | folder is . |
| ArgumentOutOfRangeException |
previousCount is negative. -or- count is negative. |