Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Namespace:   System.Net
Assembly:  System (in System.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
protected override void GetObjectData(
	SerializationInfo serializationInfo,
	StreamingContext streamingContext


Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo to populate with data.

Type: System.Runtime.Serialization.StreamingContext

A StreamingContext that specifies the destination for this serialization.

Any objects that are included in the SerializationInfo are automatically tracked and serialized by the formatter.

.NET Framework
Available since 2.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft