Condividi tramite


Costruttore ObjectValidationException (String)

Initializes a new instance of the ObjectValidationException class that has the specified message text.

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

Sintassi

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

Dim instance As New ObjectValidationException(message)
public ObjectValidationException(
    string message
)
public:
ObjectValidationException(
    String^ message
)
new : 
        message:string -> ObjectValidationException
public function ObjectValidationException(
    message : String
)

Parametri

  • message
    Tipo: System.String
    A String value that specifies the message text that describes the event that caused the exception.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

ObjectValidationException Classe

Overload ObjectValidationException

Spazio dei nomi Microsoft.SqlServer.Management.Dmf