HierarchyIdException 构造函数 (String)

 

使用自定义错误消息初始化 HierarchyIdException 类的新实例。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

public HierarchyIdException(
    string message
)
public:
HierarchyIdException(
    String^ message
)
new : 
        message:string -> HierarchyIdException
Public Sub New (
    message As String
)

参数

  • message
    Type: System.String

    一个包含自定义错误消息的string

备注

引发异常的对象通过自定义错误消息时,调用此构造函数。

另请参阅

HierarchyIdException 重载
HierarchyIdException 类
Microsoft.SqlServer.Types 命名空间

返回页首