ImapClientDeleteMessageAsync Method (String, CancellationToken) |
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 DeleteMessageAsync(
string uniqueId,
CancellationToken token
)
Public Function DeleteMessageAsync (
uniqueId As String,
token As CancellationToken
) As Task
public:
Task^ DeleteMessageAsync(
String^ uniqueId,
CancellationToken token
)
member DeleteMessageAsync :
uniqueId : string *
token : CancellationToken -> Task
Parameters
- uniqueId
- Type: SystemString
The uid of the message - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskTask object, with delegate for this operation
See Also