Click or drag to resize
MimeKit

FolderNotOpenException Constructor (String, FolderAccess, String, Exception)

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,
	string message,
	Exception innerException
)

Parameters

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