Click or drag to resize

ImapDeleteFolderRecursivelyAsync(FolderInfo, CancellationToken) Method

Permanently removes all sub folders and folder (mailbox) specified.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task DeleteFolderRecursivelyAsync(
	FolderInfo folder,
	CancellationToken cancel = default
)

Parameters

folder  FolderInfo
Folder to remove.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

Task
A task that represents the asynchronous IMAP folder delete operation.
See Also