SqlServerError Constructor (String, String, ErrorSeverity)
Initializes a new instance of the SqlServerError class.
Namespace: Microsoft.Data.Schema.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
document As String, _
severity As ErrorSeverity _
)
public SqlServerError(
string message,
string document,
ErrorSeverity severity
)
public:
SqlServerError(
String^ message,
String^ document,
ErrorSeverity severity
)
new :
message:string *
document:string *
severity:ErrorSeverity -> SqlServerError
public function SqlServerError(
message : String,
document : String,
severity : ErrorSeverity
)
Parameters
- message
Type: System.String
- document
Type: System.String
- severity
Type: Microsoft.Data.Schema.ErrorSeverity
.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.