WebResponse.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo instance with the data that is needed to serialize WebResponse.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

Parameters

serializationInfo
SerializationInfo

A SerializationInfo that will hold the serialized data for the WebResponse.

streamingContext
StreamingContext

A StreamingContext that contains the destination of the serialized stream that is associated with the new WebResponse.

Implements

Applies to