Konstruktor HierarchyIdException (String, Exception)
Inicjuje nowe wystąpienie HierarchyIdExceptionklasy z niestandardowego komunikatu o błędzie i wyzwalającego obiekt wyjątku.
Przestrzeń nazw: Microsoft.SqlServer.Types
Zestaw: Microsoft.SqlServer.Types (w Microsoft.SqlServer.Types.dll)
Składnia
'Deklaracja
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Użycie
Dim message As String
Dim innerException As Exception
Dim instance As New HierarchyIdException(message, _
innerException)
public HierarchyIdException(
string message,
Exception innerException
)
public:
HierarchyIdException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> HierarchyIdException
public function HierarchyIdException(
message : String,
innerException : Exception
)
Parametry
- message
Typ: System.String
A ciąg zawierający komunikat o błędzie
- innerException
Typ: System.Exception
Spowodował wyjątek bieżące wystąpienie wyjątku.
Uwagi
Konstruktora jest wywoływana przez inny obiekt wyjątku transmitować dane wyjątku od początku.
Zobacz także