Partager via


Constructeur ObjectValidationException (String)

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String _
)
'Utilisation
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
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

ObjectValidationException Classe

Surcharge ObjectValidationException

Espace de noms Microsoft.SqlServer.Management.Dmf