InvalidUdtException::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Streams all the InvalidUdtException properties into the SerializationInfo class for the given StreamingContext.
Assembly: System.Data (in System.Data.dll)
public: [SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)] virtual void GetObjectData( SerializationInfo^ si, StreamingContext context ) override
Parameters
- si
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo object.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The StreamingContext object.
This method is present in the InvalidUdtException class to make the class serializable.
.NET Framework
Available since 2.0
Available since 2.0
Show: