ImapClientRemoveMessageFlagsAsync Method (IConnection, IEnumerableImapMessageInfo, ImapMessageFlags, 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,
IEnumerable<ImapMessageInfo> messageInfoSet,
ImapMessageFlags flags,
CancellationToken token
)
Public Function RemoveMessageFlagsAsync (
connection As IConnection,
messageInfoSet As IEnumerable(Of ImapMessageInfo),
flags As ImapMessageFlags,
token As CancellationToken
) As Task
public:
Task^ RemoveMessageFlagsAsync(
IConnection^ connection,
IEnumerable<ImapMessageInfo^>^ messageInfoSet,
ImapMessageFlags^ flags,
CancellationToken token
)
member RemoveMessageFlagsAsync :
connection : IConnection *
messageInfoSet : IEnumerable<ImapMessageInfo> *
flags : ImapMessageFlags *
token : CancellationToken -> Task
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - messageInfoSet
- Type: System.Collections.GenericIEnumerableImapMessageInfo
The set of ImapMessageInfo - flags
- Type: Aspose.Email.Clients.ImapImapMessageFlags
The flags to be changed - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskTask object, with delegate for this operation
See Also