PolicyException Class |
Namespace: Omada.OE.AppLogic.CtrlPolicy
public class PolicyException
The PolicyException type exposes the following members.
| Name | Description | |
|---|---|---|
| AdditionalKey |
The additional key information is used in situations where it is too simplistic to only allow one exception per policy/data object.
The additional key is used when looking for an existing violation data object before creating a new one.
Exceptions for "DataObjectQuery" policies always have the value "n/a".
So does exceptions for "SQLQuery" policies that doesn’t utilize additional key information.
| |
| Description |
The description is built using the template on the policy object (if available).
| |
| Id |
Id of the CTRLPOLICYEXCEPTION data object.
Is -1 if policies were evaluated with PersistExceptions = false.
| |
| IsNew |
Whether or not this is a new entry.
| |
| Policy |
The policy which the exception is for.
| |
| Status | ||
| ViolatingObject |
The data object that violates the policy.
|
| Name | Description | |
|---|---|---|
| NoAdditionalKey |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |