Raised when a change to an XML node or property violates one or more rules in the XRules document attached to the DXmlDocument being changed.
For a list of all members of this type, see RuleViolationException Members.
[Visual Basic] Public Class RuleViolationException Inherits DynamicDomException [C#] public class RuleViolationException : DynamicDomException [C++] public __gc class RuleViolationException : public DynamicDomException [JScript] public class RuleViolationException extends DynamicDomException
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This exception is used only in Strict Error Handling mode (not implemented yet as of version 0.43.2) because in the relaxed mode (the only mode currently implemented), the change should be allowed without an exception. This exception provides a list of the nodes that failed the validation and a reference to the failed rule, and also the context node, and the error message (basically, the same information that is provided in the Error Report in the Relaxed Error Handling mode).
Assembly: XRules.DynamicDom (in XRules.DynamicDom.dll)