Compartir a través de


SqlTraceFailToInstantiateTypeException Constructor (String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Trace
Ensamblado:  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxis

'Declaración
Public Sub New ( _
    typeName As String _
)
'Uso
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
)

Parámetros

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

Ejemplos

How to: Catch an Exception in Visual Basic .NET

Vea también

Referencia

SqlTraceFailToInstantiateTypeException Clase

Sobrecarga de SqlTraceFailToInstantiateTypeException

Espacio de nombres Microsoft.SqlServer.Management.Trace

Otros recursos

Controlar excepciones SMO