Share via


SqlTraceFailToInstantiateTypeException Constructor (String)

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

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

Syntax

'Declaration
Public Sub New ( _
    typeName As String _
)
'Usage
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
)

Parameters

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

Examples

How to: Catch an Exception in Visual Basic .NET

See Also

Reference

SqlTraceFailToInstantiateTypeException Class

SqlTraceFailToInstantiateTypeException Overload

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Handling SMO Exceptions