SqlDeploymentExecutionError 构造函数 (String, String, Int32, Int32, Int32, ErrorSeverity, DeploymentStep, SqlError)
初始化 SqlDeploymentExecutionError 类的新实例。
命名空间: Microsoft.Data.Schema.Sql.Build
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Sub New ( _
message As String, _
document As String, _
line As Integer, _
column As Integer, _
errorCode As Integer, _
severity As ErrorSeverity, _
currentStep As DeploymentStep, _
error As SqlError _
)
public SqlDeploymentExecutionError(
string message,
string document,
int line,
int column,
int errorCode,
ErrorSeverity severity,
DeploymentStep currentStep,
SqlError error
)
public:
SqlDeploymentExecutionError(
String^ message,
String^ document,
int line,
int column,
int errorCode,
ErrorSeverity severity,
DeploymentStep^ currentStep,
SqlError^ error
)
new :
message:string *
document:string *
line:int *
column:int *
errorCode:int *
severity:ErrorSeverity *
currentStep:DeploymentStep *
error:SqlError -> SqlDeploymentExecutionError
public function SqlDeploymentExecutionError(
message : String,
document : String,
line : int,
column : int,
errorCode : int,
severity : ErrorSeverity,
currentStep : DeploymentStep,
error : SqlError
)
参数
- message
类型:System.String
- document
类型:System.String
- line
类型:System.Int32
- column
类型:System.Int32
- errorCode
类型:System.Int32
- severity
类型:Microsoft.Data.Schema.ErrorSeverity
- currentStep
类型:Microsoft.Data.Schema.Build.DeploymentStep
- error
类型:System.Data.SqlClient.SqlError
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。