Share via


DataRuleException Constructor

Include Protected Members
Include Inherited Members

Creates a new instance of the DataRuleException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DataRuleException() Creates a new instance of the DataRuleException class by using a system-supplied message that states the error.
Public method DataRuleException(String) Initializes a new instance of the DataRuleException class by using a specified message that states the error.
Public method DataRuleException(String, Exception) Creates a new instance of the DataRuleException class by using a specified error message and a reference to the inner exception that is the cause of this exception.

Top

See Also

Reference

DataRuleException Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace