Konstruktor SfcObjectInitializationException (String, Exception)
Inicjuje nowe wystąpienie SfcObjectInitializationException klasy o określonym klucz nazwy i odniesienia 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
Public Sub New ( _
keyName As String, _
innerException As Exception _
)
'Użycie
Dim keyName As String
Dim innerException As Exception
Dim instance As New SfcObjectInitializationException(keyName, _
innerException)
public SfcObjectInitializationException(
string keyName,
Exception innerException
)
public:
SfcObjectInitializationException(
String^ keyName,
Exception^ innerException
)
new :
keyName:string *
innerException:Exception -> SfcObjectInitializationException
public function SfcObjectInitializationException(
keyName : String,
innerException : Exception
)
Parametry
- keyName
Typ: System.String
Nazwa klucz.
- innerException
Typ: System.Exception
Wyjątek, który jest przyczyną bieżącego wyjątek.