IAsyncImapClient.DeleteFolderAsync

IAsyncImapClient.DeleteFolderAsync method

Deletes a specified folder. This method represents IMAP DELETE command.

public Task DeleteFolderAsync(string folderName, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server.
folderNameIConnectionFolder to be deleted.
tokenCancellationTokenPropagates notification that operations should be canceled.

See Also