Konstruktor SfcException (String, Exception)
Inicjuje nowe wystąpienie SfcException klasy określony komunikat i odwołanie do wyjątek wewnętrzny, który jest przyczyną tego wyjątku.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Protected Sub New ( _
message As String, _
innerException As Exception _
)
'Użycie
Dim message As String
Dim innerException As Exception
Dim instance As New SfcException(message, _
innerException)
protected SfcException(
string message,
Exception innerException
)
protected:
SfcException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> SfcException
protected function SfcException(
message : String,
innerException : Exception
)
Parametry
- message
Typ: System.String
Komunikat, który opisuje błąd.
- innerException
Typ: System.Exception
Wyjątek, który jest przyczyną bieżącego wyjątek.
Zobacz także