Click or drag to resize
MimeKit

IMailFolderOpen Method (FolderAccess, CancellationToken)

Open the folder using the requested folder access.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
FolderAccess Open(
	FolderAccess access,
	CancellationToken cancellationToken = default
)

Parameters

access
Type: MailKitFolderAccess
The requested folder access.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: FolderAccess
The FolderAccess state of the folder.
Remarks
Opens the folder using the requested folder access.
See Also