Freigeben über


SqlTraceException-Konstruktor (String)

Initializes a new instance of the SQLTraceException class with the specified message.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

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

Parameter

  • message
    Typ: System.String
    A String value that specifies the message associated with the general SQL Trace exception.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

SqlTraceException Klasse

SqlTraceException-Überladung

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Behandeln von SMO-Ausnahmen