Method SetFlagged
- Namespace
- MailFathom.Domain.Mutations
- Assembly
- MailFathom.Domain.dll
SetFlagged(StoredEmailId, EmailOccurrenceId, MailboxMutationRequester, bool)
Asks for the remote \Flagged flag of one email to be set or cleared.
public static MailboxMutationRequest SetFlagged(StoredEmailId storedEmailId, EmailOccurrenceId occurrence, MailboxMutationRequester requester, bool isFlagged)
Parameters
storedEmailIdStoredEmailIdThe local email being flagged.
occurrenceEmailOccurrenceIdWhere the email is now.
requesterMailboxMutationRequesterThe authored act asking.
isFlaggedbool
Returns
- MailboxMutationRequest
The request to write down.
Exceptions
- ArgumentNullException
Thrown when
occurrenceorrequesteris null.