Delen via


SqlTraceFailToLoadInstAPIAssemblyException Constructor (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
)

Parameters

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

Examples

Handling SMO Exceptions

See Also

Reference

SqlTraceFailToLoadInstAPIAssemblyException Class

SqlTraceFailToLoadInstAPIAssemblyException Overload

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Handling SMO Exceptions