WebRequest.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 needed to serialize the target object.
Assembly: System (in System.dll)
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> Protected Overridable Sub GetObjectData ( serializationInfo As SerializationInfo, streamingContext As StreamingContext )
Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.
Available since 2.0