Partager via


Constructeur BadEventDataException (String)

Initializes a new instance of the BadEventDataException 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 BadEventDataException(message)
public BadEventDataException(
    string message
)
public:
BadEventDataException(
    String^ message
)
new : 
        message:string -> BadEventDataException
public function BadEventDataException(
    message : String
)

Paramètres

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

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

BadEventDataException Classe

Surcharge BadEventDataException

Espace de noms Microsoft.SqlServer.Management.Dmf