Table of Contents

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

length int

How many characters the filter text carries.

limit int

The greatest number of characters the filter accepts.

filterName string

How this assembly names the filter, for example subject fragment.

Exceptions

MailboxQueryFilterInvalidException

Thrown when length exceeds limit.