WebResponse.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 that is needed to serialize the target object.
Assembly: System (in System.dll)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] protected virtual void GetObjectData( SerializationInfo serializationInfo, StreamingContext streamingContext )
Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.
Available since 2.0