Method ThrowIfLengthExceeded
- Namespace
- MailFathom.Application.Emails.Mailboxes
- Assembly
- MailFathom.Application.dll
ThrowIfLengthExceeded(int, int, string)
Refuses a filter whose text is longer than the query accepts.
public static void ThrowIfLengthExceeded(int length, int limit, string filterName)
Parameters
lengthintHow many characters the filter text carries.
limitintThe greatest number of characters the filter accepts.
filterNamestringHow this assembly names the filter, for example
subject fragment.
Exceptions
- MailboxQueryFilterInvalidException
Thrown when
lengthexceedslimit.