DataRuleException Constructor (String)
Initializes a new instance of the DataRuleException class by using a specified message that states the error.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
public DataRuleException(
string message
)
public:
DataRuleException(
String^ message
)
new :
message:string -> DataRuleException
public function DataRuleException(
message : String
)
Parameters
- message
Type: System.String
The message that states the exception. The caller of this constructor is required to make sure that that this string has been localized for 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