Partager via


Constructeur SqlTraceFailToInstantiateTypeException (String)

Initiates a new instance of the SQLTraceFailToInstantiateTypeException class with the specified message.

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

Syntaxe

'Déclaration
Public Sub New ( _
    typeName As String _
)
'Utilisation
Dim typeName As String 

Dim instance As New SqlTraceFailToInstantiateTypeException(typeName)
public SqlTraceFailToInstantiateTypeException(
    string typeName
)
public:
SqlTraceFailToInstantiateTypeException(
    String^ typeName
)
new : 
        typeName:string -> SqlTraceFailToInstantiateTypeException
public function SqlTraceFailToInstantiateTypeException(
    typeName : String
)

Paramètres

  • typeName
    Type : System.String
    A String value that specifies the message associated with the SQL Trace Fail to Instantiate Type exception.

Exemples

How to: Catch an Exception in Visual Basic .NET

Voir aussi

Référence

SqlTraceFailToInstantiateTypeException Classe

Surcharge SqlTraceFailToInstantiateTypeException

Espace de noms Microsoft.SqlServer.Management.Trace

Autres ressources

Gestion des exceptions SMO