ImapClientAddMessageFlagsAsync Method (Int32, Int32, ImapMessageFlags, CancellationToken) |
Adds the flags of the message
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task AddMessageFlagsAsync(
int startSequence,
int endSequence,
ImapMessageFlags flags,
CancellationToken token
)
Public Function AddMessageFlagsAsync (
startSequence As Integer,
endSequence As Integer,
flags As ImapMessageFlags,
token As CancellationToken
) As Task
public:
Task^ AddMessageFlagsAsync(
int startSequence,
int endSequence,
ImapMessageFlags^ flags,
CancellationToken token
)
member AddMessageFlagsAsync :
startSequence : int *
endSequence : int *
flags : ImapMessageFlags *
token : CancellationToken -> Task
Parameters
- startSequence
- Type: SystemInt32
The starting sequence number of a message list - endSequence
- Type: SystemInt32
The ending sequence number of a message list - flags
- Type: Aspose.Email.Clients.ImapImapMessageFlags
The flags to be removed - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskTask object, with delegate for this operation
See Also