DataRuleException Constructor
Creates a new instance of the DataRuleException class by using a system-supplied message that states the error.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New
public DataRuleException()
public:
DataRuleException()
new : unit -> DataRuleException
public function DataRuleException()
Remarks
This constructor initializes the Message property of the new instance to a system-supplied [message] that states the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply". This message considers the current system culture.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Data.Schema.StaticCodeAnalysis Namespace