DataSchemaError Constructor (String, ErrorSeverity)
Initializes a new instance of the DataSchemaError class by using the provided message and by indicating the severity of the error.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
severity As ErrorSeverity _
)
public DataSchemaError(
string message,
ErrorSeverity severity
)
public:
DataSchemaError(
String^ message,
ErrorSeverity severity
)
new :
message:string *
severity:ErrorSeverity -> DataSchemaError
public function DataSchemaError(
message : String,
severity : ErrorSeverity
)
Parameters
- message
Type: System.String
A string that indicates the reason that the error occurred.
- severity
Type: Microsoft.Data.Schema.ErrorSeverity
A member of the ErrorSeverity enumeration that indicates the severity of this error.
.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 Namespace
ErrorSeverity