Table of Contents

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

name string

A name identifying what this policy guards, such as a route pattern or a test name.

Returns

QueryGuardPolicy

A new policy.

Exceptions

ArgumentException

name is empty or whitespace.