Freigeben über


COMException-Konstruktor: (SerializationInfo, StreamingContext)

 

Veröffentlicht: Oktober 2016

Initialisiert eine neue Instanz der COMException -Klasse aus Serialisierungsdaten.

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

Syntax

protected COMException(
    SerializationInfo info,
    StreamingContext context
)
protected:
COMException(
    SerializationInfo^ info,
    StreamingContext context
)
new : 
        info:SerializationInfo *
        context:StreamingContext -> COMException
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.

COMException erbt von ExternalException.

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

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

Zurück zum Anfang