ImapClient.DeleteMessageAsync
DeleteMessageAsync(IConnection, int)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(IConnection connection, int sequenceNumber)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | Sequence number of a message |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(IConnection, string)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(IConnection connection, string uniqueId)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(int)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(int sequenceNumber)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | Sequence number of a message |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(string)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(string uniqueId)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(IConnection, int, long)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(IConnection connection, int sequenceNumber,
long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | Sequence number of a message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(IConnection, string, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessageAsync(IConnection connection, string uniqueId, long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(int, long)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(int sequenceNumber, long modificationSequence)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | Sequence number of a message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(string, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessageAsync(string uniqueId, long modificationSequence)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(string, bool)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(string uniqueId, bool commitNow)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(IConnection, string, bool)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(IConnection connection, string uniqueId, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(string, long, bool)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(string uniqueId, long modificationSequence, bool commitNow)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(IConnection, string, long, bool)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(IConnection connection, string uniqueId, long modificationSequence,
bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessageAsync(IConnection, int, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(IConnection connection, int sequenceNumber, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | Sequence number of a message |
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
DeleteMessageAsync(IConnection, string, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(IConnection connection, string uniqueId, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
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
DeleteMessageAsync(int, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(int sequenceNumber, CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | Sequence number of a message |
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
DeleteMessageAsync(string, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(string uniqueId, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
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
DeleteMessageAsync(IConnection, int, long, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(IConnection connection, int sequenceNumber,
long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | Sequence number of a message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
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
DeleteMessageAsync(IConnection, string, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessageAsync(IConnection connection, string uniqueId, long modificationSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
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
DeleteMessageAsync(int, long, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessageAsync(int sequenceNumber, long modificationSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | Sequence number of a message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
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
DeleteMessageAsync(string, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessageAsync(string uniqueId, long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
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
DeleteMessageAsync(string, bool, CancellationToken)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(string uniqueId, bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
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
DeleteMessageAsync(IConnection, string, bool, CancellationToken)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(IConnection connection, string uniqueId, bool commitNow,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
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
DeleteMessageAsync(string, long, bool, CancellationToken)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(string uniqueId, long modificationSequence, bool commitNow,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
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
DeleteMessageAsync(IConnection, string, long, bool, CancellationToken)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
public Task DeleteMessageAsync(IConnection connection, string uniqueId, long modificationSequence,
bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
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