Bagikan melalui


FaultException.GetObjectData(SerializationInfo, StreamingContext) Metode

Definisi

Perhatian

API ini sudah tidak digunakan lagi.

GetObjectData(SerializationInfo, StreamingContext) Implementasi metode yang dipanggil ketika objek diserialisasikan ke dalam aliran.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Security.SecurityCritical>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Informasi serialisasi tempat data objek ditambahkan saat diserialisasikan.

context
StreamingContext

Tujuan untuk objek yang diserialisasikan.

Atribut

Berlaku untuk