Method FindAsync
- Namespace
- MailFathom.Application.Spam
- Assembly
- MailFathom.Application.dll
FindAsync(StoredEmailId, CancellationToken)
Finds the classification recorded for one occurrence.
Task<SpamClassification?> FindAsync(StoredEmailId emailId, CancellationToken cancellationToken)
Parameters
emailIdStoredEmailIdThe occurrence to read.
cancellationTokenCancellationTokenCancels the lookup.
Returns
- Task<SpamClassification>
The classification, or null when the occurrence has never been classified.