Click or drag to resize
MimeKit

FolderNotOpenException Constructor (String, FolderAccess)

Initializes a new instance of the FolderNotOpenException class.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
public FolderNotOpenException(
	string folderName,
	FolderAccess access
)

Parameters

folderName
Type: SystemString
The folder name.
access
Type: MailKitFolderAccess
The minimum folder access required by the operation.
Exceptions
ExceptionCondition
ArgumentNullExceptionfolderName is null.
Remarks
Creates a new FolderNotOpenException.
See Also