CodeDomSerializerException::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Sets the SerializationInfo object with the parameter name and additional exception information.
Assembly: System.Design (in System.Design.dll)
public: virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
Stores the data that was being used to serialize or deserialize the object that the CodeDomSerializer was serializing or deserializing.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.
| Exception | Condition |
|---|---|
| ArgumentNullException | The info parameter is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: