Constructor StoredContentCeiling
- Namespace
- MailFathom.Application.EmailContent.Storage
- Assembly
- MailFathom.Application.dll
StoredContentCeiling(IStoredContentClaimStore, long?, long?)
Initializes the ceilings this deployment declared.
public StoredContentCeiling(IStoredContentClaimStore claimStore, long? ceilingBytes, long? userCeilingBytes = null)
Parameters
claimStoreIStoredContentClaimStoreHolds what every replica has claimed and decides whether one more fits.
ceilingByteslong?The configured deployment ceiling, or null when storage is bounded only by the disk.
userCeilingByteslong?The configured per-user ceiling, or null when no user is bounded separately.
Exceptions
- ArgumentNullException
Thrown when
claimStoreis null.- ArgumentOutOfRangeException
Thrown when either ceiling is not positive.