Condividi tramite


Costruttore HierarchyIdException (String)

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

Spazio dei nomi  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    message As String _
)
'Utilizzo
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
)

Parametri

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

Osservazioni

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

Vedere anche

Riferimento

HierarchyIdException Classe

Overload HierarchyIdException

Spazio dei nomi Microsoft.SqlServer.Types