IAsyncImapClient.MoveFolderAsync

IAsyncImapClient.MoveFolderAsync method

Moves specified folder and its subfolders to new location.

public Task MoveFolderAsync(string newParentFolder, string folderName, 
    IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
newParentFolderStringNew location for moved folder
folderNameStringFolder to move
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates notification that operations should be canceled.

See Also