 | ImapGetFlagsByUIDAsync(ListInt64, CancellationToken) Method |
Gets flags for the specified email messages from server. Does not set the
Seen.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<List<MessageFlags>> GetFlagsByUIDAsync(
List<long> uids,
CancellationToken cancel = default
)
Public Function GetFlagsByUIDAsync (
uids As List(Of Long),
Optional cancel As CancellationToken = Nothing
) As Task(Of List(Of MessageFlags))
public:
Task<List<MessageFlags^>^>^ GetFlagsByUIDAsync(
List<long long>^ uids,
CancellationToken cancel = CancellationToken()
)
member GetFlagsByUIDAsync :
uids : List<int64> *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<List<MessageFlags>> Parameters
- uids ListInt64
- Unique-ids of the messages to get flags for.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskListMessageFlagsList containing flags of the specified messages.
See Also