BadEventDataException Constructor (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
)

Parameters

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