IAsyncImapClient.SelectFolderAsync
IAsyncImapClient.SelectFolderAsync method
Selects the specified folder
public Task SelectFolderAsync(string folderName, bool? readOnly = false,
IConnection connection = null, CancellationToken token = default)
| Parameter | Type | Description |
|---|---|---|
| connection | String | Connection to a server |
| folderName | Nullable`1 | Folder to be selected |
| readOnly | IConnection | 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
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email