Method FindAsync
- Namespace
- MailFathom.Application.Spam.Actions
- Assembly
- MailFathom.Application.dll
FindAsync(StoredEmailId, CancellationToken)
Finds the occurrence one local email currently has.
Task<SpamActionOccurrence?> FindAsync(StoredEmailId emailId, CancellationToken cancellationToken)
Parameters
emailIdStoredEmailIdThe local email a classification was recorded for.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<SpamActionOccurrence>
Where the email is and how it stands, or null when nothing is stored under that identifier.