HierarchyIdException 构造函数 (String)

Initializes a new instance of the HierarchyIdException class with a custom error message.

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

语法

声明
Public Sub New ( _
    message As String _
)
用法
Dim message As String

Dim instance As New HierarchyIdException(message)
public HierarchyIdException(
    string message
)
public:
HierarchyIdException(
    String^ message
)
new : 
        message:string -> HierarchyIdException
public function HierarchyIdException(
    message : String
)

参数

注释

This constructor is called when an object throwing the exception is passing custom error information.