Udostępnij za pośrednictwem


Konstruktor InternalException — (String, Exception)

Inicjuje nowe wystąpienie InternalException klasy przy użyciu dostarczonego wiadomości i wewnętrzny wyjątek.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Exceptions
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Public Sub New ( _
    msg As String, _
    inner As Exception _
)
public InternalException(
    string msg,
    Exception inner
)
public:
InternalException(
    String^ msg, 
    Exception^ inner
)
new : 
        msg:string * 
        inner:Exception -> InternalException
public function InternalException(
    msg : String, 
    inner : Exception
)

Parametry

  • msg
    Typ: String

    Komunikat, który opisuje wyjątek.

  • inner
    Typ: Exception

    Wyjątek, który spowodował wyjątek bieżącego.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

InternalException Klasa

Przeciążenie InternalException

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Exceptions