CodeDomSerializerException.GetObjectData(SerializationInfo, StreamingContext) CodeDomSerializerException.GetObjectData(SerializationInfo, StreamingContext) CodeDomSerializerException.GetObjectData(SerializationInfo, StreamingContext) CodeDomSerializerException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Sets the SerializationInfo object with the parameter name and additional exception information.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Stores the data that was being used to serialize or deserialize the object that the CodeDomSerializer was serializing or deserializing.

context
StreamingContext StreamingContext StreamingContext 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.

Exceptions

Applies to