Share via


InvalidUdtException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Streams all the InvalidUdtException properties into the SerializationInfo class for the given StreamingContext.

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

Parameters

context
StreamingContext

The StreamingContext object.

Remarks

This method is present in the InvalidUdtException class to make the class serializable.

Applies to