InvalidUdtException.GetObjectData Method (SerializationInfo, StreamingContext)


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

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

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

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

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

.NET Framework
Available since 2.0
Return to top