Partager via


Constructeur SqlTraceFailToLoadInstAPIAssemblyException (String, Exception)

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

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Utilisation
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
)

Paramètres

  • 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.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

SqlTraceFailToLoadInstAPIAssemblyException Classe

Surcharge SqlTraceFailToLoadInstAPIAssemblyException

Espace de noms Microsoft.SqlServer.Management.Trace

Autres ressources

Gestion des exceptions SMO