Edit

Share via


FileWebResponse.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Caution

Serialization has been deprecated for FileWebResponse.

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

C#
[System.Obsolete("Serialization has been deprecated for FileWebResponse.")]
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
C#
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

Parameters

serializationInfo
SerializationInfo

The SerializationInfo to populate with data.

streamingContext
StreamingContext

A StreamingContext that specifies the destination for this serialization.

Attributes

Remarks

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

Applies to