ProtocolViolationException.GetObjectData Method (SerializationInfo, StreamingContext)
This API supports the product infrastructure and is not intended to be used directly from your code.
Populates a SerializationInfo with the data required to serialize the target object.
Assembly: System (in System.dll)
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> Public Overrides Sub GetObjectData ( serializationInfo As SerializationInfo, streamingContext As StreamingContext )
The SerializationInfo to populate with data.
Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.
Available since 2.0