Click or drag to resize
MimeKit

ImapMailboxFilterSubtree(IListIMailFolder) Constructor

Initializes a new instance of the ImapMailboxFilterSubtree class.

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public Subtree(
	IList<IMailFolder> folders
)

Parameters

folders  IListIMailFolder
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 ImapMailboxFilterSubtree class.
See Also