Bagikan melalui


FileWebRequest.GetObjectData(SerializationInfo, StreamingContext) Metode

Definisi

Perhatian

Serialization has been deprecated for FileWebRequest.

Mengisi dengan data yang SerializationInfo diperlukan untuk membuat serialisasi objek target.

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization has been deprecated for FileWebRequest.")]
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
[<System.Obsolete("Serialization has been deprecated for FileWebRequest.")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overrides Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameter

serializationInfo
SerializationInfo

SerializationInfo untuk mengisi dengan data.

streamingContext
StreamingContext

StreamingContext yang menentukan tujuan untuk serialisasi ini.

Atribut

Keterangan

Objek apa pun yang disertakan dalam secara otomatis dilacak dan diserialisasikan SerializationInfo oleh pemformat.

Berlaku untuk