Click or drag to resize
MimeKit

ImapMailboxFilterMailboxes(IMailFolder) Constructor

Initializes a new instance of the ImapMailboxFilterMailboxes class.

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public Mailboxes(
	params IMailFolder[] folders
)

Parameters

folders  IMailFolder
The list of folders to watch for events.
Exceptions
ExceptionCondition
ArgumentNullExceptionfolders is null.
ArgumentException

The list of folders is empty.

-or-

The list of folders contains folders that are not of type ImapFolder.

Remarks
Initializes a new instance of the ImapMailboxFilterMailboxes class.
See Also