Click or drag to resize
MimeKit

IMailFolderUnsubscribeAsync Method

Asynchronously unsubscribe from the folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Task UnsubscribeAsync(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

Task
An asynchronous task context.
Remarks
Asynchronously unsubscribes from the folder.
See Also