共用方式為


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.