ImapClientChangeMessageFlagsAsync Method (IConnection, IEnumerableString, ImapMessageFlags, Int64) |
Changes the flags of the message
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task ChangeMessageFlagsAsync(
IConnection connection,
IEnumerable<string> uidSet,
ImapMessageFlags flags,
long modificationSequence
)
Public Function ChangeMessageFlagsAsync (
connection As IConnection,
uidSet As IEnumerable(Of String),
flags As ImapMessageFlags,
modificationSequence As Long
) As Task
public:
Task^ ChangeMessageFlagsAsync(
IConnection^ connection,
IEnumerable<String^>^ uidSet,
ImapMessageFlags^ flags,
long long modificationSequence
)
member ChangeMessageFlagsAsync :
connection : IConnection *
uidSet : IEnumerable<string> *
flags : ImapMessageFlags *
modificationSequence : int64 -> Task
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - uidSet
- Type: System.Collections.GenericIEnumerableString
The set of UID for messages - flags
- Type: Aspose.Email.Clients.ImapImapMessageFlags
The flags to be changed - 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