AdvantageApiCorsPolicyAttribute Constructor
Initializes a new instance of the AdvantageApiCorsPolicyAttribute class.
Namespace:
AdvantageCSP.APIAssembly: AdvantageCSP.API (in AdvantageCSP.API.dll)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Thrown if policyProviderType is null or does not inherit from AdvantageApiCorsPolicyProviderBase. |

