Freigeben über


BadEventDataException-Konstruktor (String)

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
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
)

Parameter

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

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

BadEventDataException Klasse

BadEventDataException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace