Konstruktor SqlTraceException (String, Exception)
Inicjuje nowe wystąpienie SQLTraceException klasy z określonym komunikatem i wewnętrzny wyjątek.
Przestrzeń nazw: Microsoft.SqlServer.Management.Trace
Zestaw: Microsoft.SqlServer.ConnectionInfoExtended (w Microsoft.SqlServer.ConnectionInfoExtended.dll)
Składnia
'Deklaracja
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Użycie
Dim message As String
Dim innerException As Exception
Dim instance As New SqlTraceException(message, _
innerException)
public SqlTraceException(
string message,
Exception innerException
)
public:
SqlTraceException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> SqlTraceException
public function SqlTraceException(
message : String,
innerException : Exception
)
Parametry
- message
Typ: System.String
A String wartość określająca wiadomości związane z ogólnym wyjątek śledzenia SQL.
- innerException
Typ: System.Exception
Exception Wartość obiektu, który określa wyjątek wewnętrzny wyjątek śledzenia SQL.
Zobacz także