InvalidUdtException.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.

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
Show: