Method HoldsAsync
- Namespace
- MailFathom.Application.StoredFiles
- Assembly
- MailFathom.Application.dll
HoldsAsync(UserId, StoredFileId, CancellationToken)
Reports whether this deployment holds one file for one user, without reading its octets.
Task<bool> HoldsAsync(UserId owner, StoredFileId file, CancellationToken cancellationToken)
Parameters
ownerUserIdThe user the file would belong to.
fileStoredFileIdThe file.
cancellationTokenCancellationTokenCancels the read.
Returns
Exceptions
- ArgumentException
Thrown when
ownerorfilenames nothing.