Compartilhar via


ValidationState Constructors

Definition

Overloads

ValidationState()

Constructs an object of type ValidationState

ValidationState(Exception, String)

Constructs an object of type ValidationState, the error message is set to the exception message, the fault type is set to error by default.

ValidationState(String, String)

Constructs an object of type ValidationState, the fault type is set to error by default.

ValidationState(Exception, String, Boolean)

Constructs an object of type ValidationState, the error message is set to the exception message

ValidationState(String, Exception, String)

Constructs an object of type ValidationState, the fault type is set to error by default.

ValidationState(String, String, Boolean)

Constructs an object of type ValidationState

ValidationState(String, Exception, String, Boolean)

Constructs an object of type ValidationState

ValidationState()

Constructs an object of type ValidationState

public ValidationState ();
Public Sub New ()

Applies to

ValidationState(Exception, String)

Constructs an object of type ValidationState, the error message is set to the exception message, the fault type is set to error by default.

public ValidationState (Exception error, string bindingKey);
new Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState : Exception * string -> Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
Public Sub New (error As Exception, bindingKey As String)

Parameters

error
Exception

The source exception for the error/warning

bindingKey
String

The property name which caused the problem

Applies to

ValidationState(String, String)

Constructs an object of type ValidationState, the fault type is set to error by default.

public ValidationState (string message, string bindingKey);
new Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState : string * string -> Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
Public Sub New (message As String, bindingKey As String)

Parameters

message
String

The error/warning message

bindingKey
String

The property name which caused the problem

Applies to

ValidationState(Exception, String, Boolean)

Constructs an object of type ValidationState, the error message is set to the exception message

public ValidationState (Exception error, string bindingKey, bool isWarning);
new Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState : Exception * string * bool -> Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
Public Sub New (error As Exception, bindingKey As String, isWarning As Boolean)

Parameters

error
Exception

The source exception for the error/warning

bindingKey
String

The property name which caused the problem

isWarning
Boolean

True if warning, otherwise false

Applies to

ValidationState(String, Exception, String)

Constructs an object of type ValidationState, the fault type is set to error by default.

public ValidationState (string message, Exception error, string bindingKey);
new Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState : string * Exception * string -> Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
Public Sub New (message As String, error As Exception, bindingKey As String)

Parameters

message
String

The error/warning message

error
Exception

The source exception for the error/warning

bindingKey
String

The property name which caused the problem

Applies to

ValidationState(String, String, Boolean)

Constructs an object of type ValidationState

public ValidationState (string message, string bindingKey, bool isWarning);
new Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState : string * string * bool -> Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
Public Sub New (message As String, bindingKey As String, isWarning As Boolean)

Parameters

message
String

The error/warning message

bindingKey
String

The property name which caused the problem

isWarning
Boolean

True if warning, otherwise false

Applies to

ValidationState(String, Exception, String, Boolean)

Constructs an object of type ValidationState

public ValidationState (string message, Exception error, string bindingKey, bool isWarning);
new Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState : string * Exception * string * bool -> Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
Public Sub New (message As String, error As Exception, bindingKey As String, isWarning As Boolean)

Parameters

message
String

The error/warning message

error
Exception

The source exception for the error/warning

bindingKey
String

The property name which caused the problem

isWarning
Boolean

True if warning, otherwise false

Applies to