Share via


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.

.NET Framework Security

See Also

Reference

DataSchemaError Class

DataSchemaError Overload

Microsoft.Data.Schema Namespace

ErrorSeverity

DataSchemaError