Method PlaceAsync
- Namespace
- MailFathom.Application.Emails.Threads
- Assembly
- MailFathom.Application.dll
PlaceAsync(IPersistenceSession, StoredEmailId, EmailThreadId, StoredEmailId?, CancellationToken)
Records which conversation one email belongs to and which of its messages it answers.
Task PlaceAsync(IPersistenceSession session, StoredEmailId storedEmailId, EmailThreadId threadId, StoredEmailId? answeredStoredEmailId, CancellationToken cancellationToken)
Parameters
sessionIPersistenceSessionThe transaction the placement is part of.
storedEmailIdStoredEmailIdThe email being placed.
threadIdEmailThreadIdThe conversation it belongs to.
answeredStoredEmailIdStoredEmailId?The message it answers, or null when it answers none held here.
cancellationTokenCancellationTokenPropagates caller cancellation.