Bagikan melalui


ParameterInfo.GetRealObject(StreamingContext) Metode

Definisi

Perhatian

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Mengembalikan objek nyata yang harus dideserialisasi alih-alih objek yang ditentukan aliran berseri.

public:
 virtual System::Object ^ GetRealObject(System::Runtime::Serialization::StreamingContext context);
public object GetRealObject (System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public object GetRealObject (System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
public object GetRealObject (System.Runtime.Serialization.StreamingContext context);
abstract member GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
override this.GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
override this.GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
[<System.Security.SecurityCritical>]
abstract member GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
override this.GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
Public Function GetRealObject (context As StreamingContext) As Object

Parameter

context
StreamingContext

Aliran berseri dari mana objek saat ini dideserialisasi.

Mengembalikan

Objek aktual yang dimasukkan ke dalam grafik.

Penerapan

Atribut

Pengecualian

Posisi parameter dalam daftar parameter anggota terkait tidak valid untuk jenis anggota tersebut.

Keterangan

Metode ini mengimplementasikan IObjectReference.GetRealObject metode .

Berlaku untuk