Udostępnij za pośrednictwem


Konstruktor InternalException — (SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie InternalException klasy przy użyciu dostarczone informacje i kontekst.

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

Składnia

'Deklaracja
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected InternalException(
    SerializationInfo info,
    StreamingContext context
)
protected:
InternalException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> InternalException
protected function InternalException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parametry

  • info
    Typ: SerializationInfo

    Informacje o wyjątku.

  • context
    Typ: StreamingContext

    Źródłowy i docelowy wyjątku.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

InternalException Klasa

Przeciążenie InternalException

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Exceptions

SerializationInfo

StreamingContext