Table of Contents

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

count int

How many distinct values the filter names.

limit int

The greatest number of values the filter accepts.

filterName string

How this assembly names the filter, for example accounts.

Exceptions

MailboxQueryFilterInvalidException

Thrown when count exceeds limit.