ImapClient.UnselectFolderAsync
UnselectFolderAsync(IConnection)
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public Task UnselectFolderAsync(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolderAsync()
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public Task UnselectFolderAsync()
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolderAsync(IConnection, bool)
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(IConnection connection, bool doNotExpunge)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | Boolean | Specifies whether messages marked as deleted should be removed. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolderAsync(bool)
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)
Parameter | Type | Description |
---|---|---|
doNotExpunge | Boolean | Specifies whether messages marked as deleted should be removed. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolderAsync(IConnection, CancellationToken)
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public Task UnselectFolderAsync(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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolderAsync(CancellationToken)
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public Task UnselectFolderAsync(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 ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolderAsync(IConnection, bool, CancellationToken)
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(IConnection connection, bool doNotExpunge, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | Boolean | Specifies whether messages marked as deleted should be removed. |
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
UnselectFolderAsync(bool, CancellationToken)
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, CancellationToken token)
Parameter | Type | Description |
---|---|---|
doNotExpunge | Boolean | Specifies whether messages marked as deleted should be removed. |
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