PolicyException
The exception that is thrown when policy forbids code to run.
public PolicyException()
Initializes a new instance of the PolicyException class with default properties.
Initializes a new instance of the PolicyException class with serialized data.
Initializes a new instance of the PolicyException class with a specified error message.
Initializes a new instance of the PolicyException class with a specified error message and a reference to the inner exception that is the cause of this exception.