IAsyncImapClient.ExistFolderAsync
IAsyncImapClient.ExistFolderAsync method
Check whether this folder exists
public Task<bool> ExistFolderAsync(string folderName, IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | String | Connection to a server |
folderName | IConnection | Name of the folder |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Returns true if the folder is existing, otherwise returns false
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email