Method RunAsync
- Namespace
- MailFathom.Application.StoredFiles
- Assembly
- MailFathom.Application.dll
RunAsync(CancellationToken)
Runs one bounded sweep if this replica takes its lease.
public Task<int?> RunAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the claim and the run.
Returns
Exceptions
- PrincipalNotAuthorizedException
Thrown when anything but this deployment's own process reached the use case.