InvalidUdtException::GetObjectData Method (SerializationInfo^, StreamingContext)

 

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

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
virtual void GetObjectData(
	SerializationInfo^ si,
	StreamingContext context
) override

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

.NET Framework
Available since 2.0
Return to top
Show: