SqlTraceFailToInstantiateTypeException 构造函数 (String)

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

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
Public Sub New ( _
    typeName As String _
)
用法
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
)

参数

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

示例

How to: Catch an Exception in Visual Basic .NET

请参阅

参考

SqlTraceFailToInstantiateTypeException 类

SqlTraceFailToInstantiateTypeException 重载

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

处理 SMO 异常