Edit

Share via


TypedDataSetGeneratorException.GetObjectData Method

Definition

Implements the ISerializable interface and returns the data that you must have to serialize the TypedDataSetGeneratorException object.

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

context
StreamingContext

A StreamingContext structure.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization. The TypedDataSetGeneratorException class indicates that a conflict occurred while an attempt is being made to generate a typed dataset class.

Applies to