Bagikan melalui


InstanceLockedException.GetObjectData Metode

Definisi

SerializationInfo Mengatur objek dengan informasi tentang pengecualian.

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.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

Data objek berseri tentang pengecualian yang dilemparkan.

context
StreamingContext

Objek yang berisi informasi kontekstual tentang sumber atau tujuan.

Atribut

Berlaku untuk