Method AddAsync
- Namespace
- MailFathom.Application.Tasks
- Assembly
- MailFathom.Application.dll
AddAsync(PersonalTask, CancellationToken)
Keeps one task.
Task AddAsync(PersonalTask task, CancellationToken cancellationToken)
Parameters
taskPersonalTaskThe task to keep.
cancellationTokenCancellationTokenCancels the write.
Returns
- Task
An operation that completes once the row is committed.
Exceptions
- ArgumentNullException
Thrown when
taskis null.