ImapClient.ListFoldersAsync
ListFoldersAsync(IConnection)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, string)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, string parentFolder)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, bool)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync()
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync()
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(string)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(string parentFolder)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(bool)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(string, bool)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(string parentFolder, bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, string, bool)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, string parentFolder,
bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(string, bool, ListFoldersOptions, ListFoldersReturnOptions)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(string parentFolder, bool loadFullInfo,
ListFoldersOptions options, ListFoldersReturnOptions returnOptions)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | ListFoldersOptions | Options for operation |
returnOptions | ListFoldersReturnOptions | Return options for operation |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- enum ListFoldersOptions
- enum ListFoldersReturnOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, string, bool, ListFoldersOptions, ListFoldersReturnOptions)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, string parentFolder,
bool loadFullInfo, ListFoldersOptions options, ListFoldersReturnOptions returnOptions)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | ListFoldersOptions | Options for operation |
returnOptions | ListFoldersReturnOptions | Return options for operation |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- enum ListFoldersOptions
- enum ListFoldersReturnOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, CancellationToken)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, string, CancellationToken)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, string parentFolder,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, bool, CancellationToken)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, bool loadFullInfo,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(CancellationToken)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(CancellationToken token)
Parameter | Type | Description |
---|---|---|
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(string, CancellationToken)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(string parentFolder, CancellationToken token)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(bool, CancellationToken)
Gets the list of folders in the mailbox
public Task<ImapFolderInfoCollection> ListFoldersAsync(bool loadFullInfo, CancellationToken token)
Parameter | Type | Description |
---|---|---|
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(string, bool, CancellationToken)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(string parentFolder, bool loadFullInfo,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, string, bool, CancellationToken)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, string parentFolder,
bool loadFullInfo, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(string, bool, ListFoldersOptions, ListFoldersReturnOptions, CancellationToken)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(string parentFolder, bool loadFullInfo,
ListFoldersOptions options, ListFoldersReturnOptions returnOptions, CancellationToken token)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | ListFoldersOptions | Options for operation |
returnOptions | ListFoldersReturnOptions | Return options for operation |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- enum ListFoldersOptions
- enum ListFoldersReturnOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFoldersAsync(IConnection, string, bool, ListFoldersOptions, ListFoldersReturnOptions, CancellationToken)
Gets the list of subfolders in the specified folder
public Task<ImapFolderInfoCollection> ListFoldersAsync(IConnection connection, string parentFolder,
bool loadFullInfo, ListFoldersOptions options, ListFoldersReturnOptions returnOptions,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | ListFoldersOptions | Options for operation |
returnOptions | ListFoldersReturnOptions | Return options for operation |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- interface IConnection
- enum ListFoldersOptions
- enum ListFoldersReturnOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email