Partilhar via


Construtor HierarchyIdException (String)

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

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)

Sintaxe

'Declaração
Public Sub New ( _
    message As String _
)
'Uso
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
)

Parâmetros

Comentários

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