Table of Contents

Method WithRepeatedQueryThreshold

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

WithRepeatedQueryThreshold(int)

Sets how many occurrences of one fingerprint produce a repeated-query candidate warning.

public QueryGuardPolicy WithRepeatedQueryThreshold(int threshold)

Parameters

threshold int

The occurrence count at which to warn. Must be at least two.

Returns

QueryGuardPolicy

A new policy.

Exceptions

ArgumentOutOfRangeException

threshold is less than two.