SelectFolderAsync

ImapClient.SelectFolderAsync method (1 of 8)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder to be selected

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (2 of 8)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName, bool? readOnly)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder to be selected
readOnly Nullable`1 Specifies whether the folder is to be selected as read-only

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (3 of 8)

Selects the specified folder

public Task SelectFolderAsync(string folderName)
Parameter Type Description
folderName String Folder to be selected

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (4 of 8)

Selects the specified folder

public Task SelectFolderAsync(string folderName, bool? readOnly)
Parameter Type Description
folderName String Folder to be selected
readOnly Nullable`1 Specifies whether the folder is to be selected as read-only

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (5 of 8)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder to be selected
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (6 of 8)

Selects the specified folder

public Task SelectFolderAsync(IConnection connection, string folderName, bool? readOnly, 
    CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder to be selected
readOnly Nullable`1 Specifies whether the folder is to be selected as read-only
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (7 of 8)

Selects the specified folder

public Task SelectFolderAsync(string folderName, CancellationToken token)
Parameter Type Description
folderName String Folder to be selected
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SelectFolderAsync method (8 of 8)

Selects the specified folder

public Task SelectFolderAsync(string folderName, bool? readOnly, CancellationToken token)
Parameter Type Description
folderName String Folder to be selected
readOnly Nullable`1 Specifies whether the folder is to be selected as read-only
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also