Click or drag to resize

PolicyException Class

Represents an exception for a control policy.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.CtrlPolicyPolicyException

Namespace:  Omada.OE.AppLogic.CtrlPolicy
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class PolicyException

The PolicyException type exposes the following members.

Properties
  NameDescription
Public propertyAdditionalKey
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.
Public propertyDescription
The description is built using the template on the policy object (if available).
Public propertyId
Id of the CTRLPOLICYEXCEPTION data object. Is -1 if policies were evaluated with PersistExceptions = false.
Public propertyIsNew
Whether or not this is a new entry.
Public propertyPolicy
The policy which the exception is for.
Public propertyStatus
Public propertyViolatingObject
The data object that violates the policy.
Top
Methods
  NameDescription
Public methodToString
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberNoAdditionalKey
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also