TypedDataSetGeneratorException.GetObjectData Method (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Design
Assembly:  System.Design (in System.Design.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

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.

.NET Framework
Available since 2.0
Return to top
Show: