SqlServerError 建構函式 (String, String, ErrorSeverity)
初始化 SqlServerError 類別的新執行個體。
命名空間: Microsoft.Data.Schema.Sql
組件: Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)
語法
'宣告
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
)
參數
- message
型別:System.String
- document
型別:System.String
- severity
型別:Microsoft.Data.Schema.ErrorSeverity
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。