Method ThrowIfCountExceeded
- Namespace
- MailFathom.Application.Emails.Mailboxes
- Assembly
- MailFathom.Application.dll
ThrowIfCountExceeded(int, int, string)
Refuses a filter that names more distinct values than the query accepts.
public static void ThrowIfCountExceeded(int count, int limit, string filterName)
Parameters
countintHow many distinct values the filter names.
limitintThe greatest number of values the filter accepts.
filterNamestringHow this assembly names the filter, for example
accounts.
Exceptions
- MailboxQueryFilterInvalidException
Thrown when
countexceedslimit.