Partager via


Constructeur HierarchyIdException (String)

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

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String _
)
'Utilisation
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
)

Paramètres

Notes

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