SqlDeploymentExecutionError Constructor (String, Int32, ErrorSeverity, DeploymentStep, SqlError)
Initializes a new instance of the SqlDeploymentExecutionError class.
Namespace: Microsoft.Data.Schema.Sql.Build
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
errorCode As Integer, _
severity As ErrorSeverity, _
currentStep As DeploymentStep, _
error As SqlError _
)
public SqlDeploymentExecutionError(
string message,
int errorCode,
ErrorSeverity severity,
DeploymentStep currentStep,
SqlError error
)
public:
SqlDeploymentExecutionError(
String^ message,
int errorCode,
ErrorSeverity severity,
DeploymentStep^ currentStep,
SqlError^ error
)
new :
message:string *
errorCode:int *
severity:ErrorSeverity *
currentStep:DeploymentStep *
error:SqlError -> SqlDeploymentExecutionError
public function SqlDeploymentExecutionError(
message : String,
errorCode : int,
severity : ErrorSeverity,
currentStep : DeploymentStep,
error : SqlError
)
Parameters
- message
Type: System.String
The text of the error message.
- errorCode
Type: System.Int32
The error code.
- severity
Type: Microsoft.Data.Schema.ErrorSeverity
The severity of the error.
- currentStep
Type: Microsoft.Data.Schema.Build.DeploymentStep
The step in the deployment plan where the error occurred.
- error
Type: System.Data.SqlClient.SqlError
The 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
SqlDeploymentExecutionError Class