Udostępnij za pośrednictwem


Konstruktor SqlTraceException (String)

Inicjuje nowe wystąpienie SQLTraceException klasy z określonej wiadomości.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Trace
Zestaw:  Microsoft.SqlServer.ConnectionInfoExtended (w Microsoft.SqlServer.ConnectionInfoExtended.dll)

Składnia

'Deklaracja
Public Sub New ( _
    message As String _
)
'Użycie
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
)

Parametry

  • message
    Typ: System.String
    A String wartość określająca wiadomości związane z ogólnym wyjątek śledzenia SQL.