Compartir a través de


HierarchyIdException Constructor (String)

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

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
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

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

Comentarios

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

Vea también

Referencia

HierarchyIdException Clase

Sobrecarga de HierarchyIdException

Espacio de nombres Microsoft.SqlServer.Types