Поделиться через


Конструктор 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