Udostępnij za pośrednictwem


Konstruktor DmfException (String, Exception)

Inicjuje nowe wystąpienie ExceptionAlreadyRegisteredException klasy, która ma określoną wiadomość tekst i wewnętrzny wyjątek.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Syntax

'Deklaracja
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Użycie
Dim message As String
Dim innerException As Exception

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

Parameters

  • message
    Typ: System. . :: . .String
    A String wartość, która określa tekst komunikatu, który opis zdarzenie, który spowodował wyjątek.
  • innerException
    Typ: System. . :: . .Exception
    Exception Obiekt zawierający wewnętrzny wyjątek. Ta jest używana podczas innym wyjątkiem należy podnieść powoduje wyjątek.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.