Freigeben über


InvalidOleVariantTypeException-Konstruktor: (SerializationInfo, StreamingContext)

 

Veröffentlicht: Oktober 2016

Initialisiert eine neue Instanz der InvalidOleVariantTypeException -Klasse aus Serialisierungsdaten.

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

Syntax

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

InvalidOleVariantTypeException erbt von SystemException.

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

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

Zurück zum Anfang