Compartilhar via


Construtor SqlTraceFailToInstantiateTypeException (String)

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

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

Sintaxe

'Declaração
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.

Exemplos

How to: Catch an Exception in Visual Basic .NET

Consulte também

Referência

SqlTraceFailToInstantiateTypeException Classe

Sobrecarregado SqlTraceFailToInstantiateTypeException

Namespace Microsoft.SqlServer.Management.Trace

Outros recursos

Manipulando exceções SMO