ImapIdleChanges Constructor

Initialize a new instance of the ImapIdleChanges class.

Definition

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public ImapIdleChanges(
	IEnumerable<ImapIdleEvent> events
)

Parameters

events  IEnumerableImapIdleEvent
The change notifications, in the order that they were received.

Remarks

Creates a new ImapIdleChanges.

This constructor is mainly useful for unit testing code that consumes ImapIdleChanges.

Exceptions

ArgumentNullException events is .
ArgumentException

events is empty.

-or-

events contains a element.

See Also