HttpWebResponse.GetObjectData(SerializationInfo, StreamingContext) HttpWebResponse.GetObjectData(SerializationInfo, StreamingContext) HttpWebResponse.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Warning

This API is now obsolete.

Populates a SerializationInfo with the data needed to serialize the target object.

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type.  http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("Serialization is obsoleted for this type.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit

Parameters

serializationInfo
SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo to populate with data.

streamingContext
StreamingContext StreamingContext StreamingContext

A StreamingContext that specifies the destination for this serialization.

Implements

Remarks

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

Applies to