共用方式為


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
)

參數

  • message
    型別:System.String
    A string that contains the custom error message.

備註

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

請參閱

參考

HierarchyIdException 類別

HierarchyIdException 多載

Microsoft.SqlServer.Types 命名空間