ImapClientDeleteMessagesAsync Method (IConnection, Int32, Int32, Int64) |
Marks a message with the specified sequence number as deleted
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task DeleteMessagesAsync(
IConnection connection,
int startSequence,
int endSequence,
long modificationSequence
)
Public Function DeleteMessagesAsync (
connection As IConnection,
startSequence As Integer,
endSequence As Integer,
modificationSequence As Long
) As Task
public:
Task^ DeleteMessagesAsync(
IConnection^ connection,
int startSequence,
int endSequence,
long long modificationSequence
)
member DeleteMessagesAsync :
connection : IConnection *
startSequence : int *
endSequence : int *
modificationSequence : int64 -> Task
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - startSequence
- Type: SystemInt32
The starting sequence number of a message list - endSequence
- Type: SystemInt32
The ending sequence number of a message list - modificationSequence
- Type: SystemInt64
Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
Return Value
Type:
TaskTask object, with delegate for this operation
See Also