IAsyncImapClient.SelectFolderAsync

IAsyncImapClient.SelectFolderAsync method

Selects the specified folder

public Task SelectFolderAsync(string folderName, bool? readOnly = false, 
    IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
folderNameNullable`1Folder to be selected
readOnlyIConnectionSpecifies whether the folder is to be selected as read-only
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also