ImapClientRemoveMessageFlagsAsync Method (IConnection, String, ImapMessageFlags, Int64, CancellationToken) |
Removes the flags of the message
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task RemoveMessageFlagsAsync(
IConnection connection,
string uniqueId,
ImapMessageFlags flags,
long modificationSequence,
CancellationToken token
)
Public Function RemoveMessageFlagsAsync (
connection As IConnection,
uniqueId As String,
flags As ImapMessageFlags,
modificationSequence As Long,
token As CancellationToken
) As Task
public:
Task^ RemoveMessageFlagsAsync(
IConnection^ connection,
String^ uniqueId,
ImapMessageFlags^ flags,
long long modificationSequence,
CancellationToken token
)
member RemoveMessageFlagsAsync :
connection : IConnection *
uniqueId : string *
flags : ImapMessageFlags *
modificationSequence : int64 *
token : CancellationToken -> Task
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - uniqueId
- Type: SystemString
Unique identifier of a message - flags
- Type: Aspose.Email.Clients.ImapImapMessageFlags
The flags to be added - modificationSequence
- Type: SystemInt64
Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskTask object, with delegate for this operation
See Also