Udostępnij za pośrednictwem


Konstruktor SfcInvalidStateException (String, Exception)

Inicjuje nowe wystąpienie SfcInvalidStateException 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
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Użycie
Dim message As String
Dim innerException As Exception

Dim instance As New SfcInvalidStateException(message, _
    innerException)
public SfcInvalidStateException(
    string message,
    Exception innerException
)
public:
SfcInvalidStateException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> SfcInvalidStateException
public function SfcInvalidStateException(
    message : String, 
    innerException : Exception
)

Parametry

  • innerException
    Typ: System.Exception
    Wyjątek, który jest przyczyną bieżącego wyjątek.