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
thresholdintThe occurrence count at which to warn. Must be at least two.
Returns
- QueryGuardPolicy
A new policy.
Exceptions
- ArgumentOutOfRangeException
thresholdis less than two.