ImapClient.SelectFolderAsync
Contents
[
Hide
]SelectFolderAsync(IConnection, string)
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(IConnection, string, bool?)
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(string)
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(string, bool?)
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(IConnection, string, CancellationToken)
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(IConnection, string, bool?, CancellationToken)
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(string, CancellationToken)
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SelectFolderAsync(string, bool?, CancellationToken)
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email