IAsyncImapClient.UnselectFolderAsync
IAsyncImapClient.UnselectFolderAsync method
Unselects folder which are currently selected. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
public Task UnselectFolderAsync(bool doNotExpunge = false, IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | Boolean | Connection to a server |
doNotExpunge | IConnection | Specifies whether messages marked as deleted should be removed. |
token | CancellationToken | Propagates notification that operations should be canceled. |
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email