ImapClient.SelectFolderAsync

SelectFolderAsync(IConnection, string)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder to be selected

Return Value

Task object, with delegate for this operation

See Also


SelectFolderAsync(IConnection, string, bool?)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName, bool? readOnly)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder to be selected
readOnlyNullable`1Specifies whether the folder is to be selected as read-only

Return Value

Task object, with delegate for this operation

See Also


SelectFolderAsync(string)

Selects the specified folder

public Task SelectFolderAsync(string folderName)
ParameterTypeDescription
folderNameStringFolder to be selected

Return Value

Task object, with delegate for this operation

See Also


SelectFolderAsync(string, bool?)

Selects the specified folder

public Task SelectFolderAsync(string folderName, bool? readOnly)
ParameterTypeDescription
folderNameStringFolder to be selected
readOnlyNullable`1Specifies whether the folder is to be selected as read-only

Return Value

Task object, with delegate for this operation

See Also


SelectFolderAsync(IConnection, string, CancellationToken)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder to be selected
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SelectFolderAsync(IConnection, string, bool?, CancellationToken)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName, bool? readOnly, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder to be selected
readOnlyNullable`1Specifies 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


SelectFolderAsync(string, CancellationToken)

Selects the specified folder

public Task SelectFolderAsync(string folderName, CancellationToken token)
ParameterTypeDescription
folderNameStringFolder to be selected
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SelectFolderAsync(string, bool?, CancellationToken)

Selects the specified folder

public Task SelectFolderAsync(string folderName, bool? readOnly, CancellationToken token)
ParameterTypeDescription
folderNameStringFolder to be selected
readOnlyNullable`1Specifies 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