Udostępnij przez


Konstruktor SqlTraceFailToLoadInstAPIAssemblyException (String, Exception)

Inicjuje nowe wystąpienie SQLTraceFailToLoadInstAPIAssemblyException 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 SqlTraceFailToLoadInstAPIAssemblyException(message, _
    innerException)
public SqlTraceFailToLoadInstAPIAssemblyException(
    string message,
    Exception innerException
)
public:
SqlTraceFailToLoadInstAPIAssemblyException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> SqlTraceFailToLoadInstAPIAssemblyException
public function SqlTraceFailToLoadInstAPIAssemblyException(
    message : String, 
    innerException : Exception
)

Parametry

  • message
    Typ: System.String
    A String wartość określająca wiadomości skojarzonych z ogólne SQL śledzenia nie obciążenia Inst API zestawu wyjątek.
  • innerException
    Typ: System.Exception
    Exception Wartość obiektu, który określa wewnętrznym wyjątku niepowodzenie śledzenia SQL do zestawu API Inst obciążenia wyjątek.