Freigeben über


ExternalException-Konstruktor: (SerializationInfo, StreamingContext)

 

Veröffentlicht: Oktober 2016

Initialisiert eine neue Instanz der ExternalException -Klasse aus Serialisierungsdaten.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Syntax

protected ExternalException(
    SerializationInfo info,
    StreamingContext context
)
protected:
ExternalException(
    SerializationInfo^ info,
    StreamingContext context
)
new : 
        info:SerializationInfo *
        context:StreamingContext -> ExternalException
Protected Sub New (
    info As SerializationInfo,
    context As StreamingContext
)

Parameter

Ausnahmen

Exception Condition
ArgumentNullException

info ist null.

Hinweise

Dieser Konstruktor wird während der Deserialisierung aufgerufen, um das über einen Stream übertragene Ausnahmeobjekt wiederherzustellen. Weitere Informationen finden Sie unter XML- und SOAP-Serialisierung.

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

ExternalException Überladen
ExternalException-Klasse
System.Runtime.InteropServices-Namespace

Zurück zum Anfang