Costruttore ValidationState (String, String)

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.. Initializes a new instance of the ValidationState class with the specified message and binding key.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    message As String, _
    bindingKey As String _
)
'Utilizzo
Dim message As String 
Dim bindingKey As String 

Dim instance As New ValidationState(message, _
    bindingKey)
public ValidationState(
    string message,
    string bindingKey
)
public:
ValidationState(
    String^ message, 
    String^ bindingKey
)
new : 
        message:string * 
        bindingKey:string -> ValidationState
public function ValidationState(
    message : String, 
    bindingKey : String
)

Parametri

  • bindingKey
    Tipo: System.String
    Specifies the name of the property that generated the exception.

Osservazioni

By default, the fault type is set as Error.

Vedere anche

Riferimento

ValidationState Classe

Overload ValidationState

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc