Method Create
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
Create(string)
Creates a policy with default thresholds and no budgets.
public static QueryGuardPolicy Create(string name)
Parameters
namestringA name identifying what this policy guards, such as a route pattern or a test name.
Returns
- QueryGuardPolicy
A new policy.
Exceptions
- ArgumentException
nameis empty or whitespace.