Freigeben über


SqlTraceFailToLoadInstAPIAssemblyException-Konstruktor (String, Exception)

Initializes a new instance of the SQLTraceFailToLoadInstAPIAssemblyException class with the specified message and inner exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
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
)

Parameter

  • message
    Typ: System.String
    A String value that specifies the message associated with the general SQL Trace Fail to Load Inst API Assembly exception.
  • innerException
    Typ: System.Exception
    An Exception object value that specifies the inner exception for the SQL Trace Fail to Load Inst API Assembly exception.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

SqlTraceFailToLoadInstAPIAssemblyException Klasse

SqlTraceFailToLoadInstAPIAssemblyException-Überladung

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Behandeln von SMO-Ausnahmen