Udostępnij przez


Konstruktor SfcObjectNotFoundException (String, Exception)

Inicjuje nowe wystąpienie SfcObjectNotFoundException klasy określony komunikat i odwołanie do wewnętrzny wyjątek.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.Metadata
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 SfcObjectNotFoundException(message, _
    innerException)
public SfcObjectNotFoundException(
    string message,
    Exception innerException
)
public:
SfcObjectNotFoundException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> SfcObjectNotFoundException
public function SfcObjectNotFoundException(
    message : String, 
    innerException : Exception
)

Parametry

  • message
    Typ: System.String
    Komunikat o błędzie wyjaśniający przyczynę wyjątek.
  • innerException
    Typ: System.Exception
    Wyjątek, który jest przyczyną bieżącego wyjątek lub null referencyjny, jeśli nie określono żadnych wyjątek wewnętrzny.