IObjectReference インターフェイス

定義

注意事項

Formatter-based serialization is obsolete and should not be used.

現在のインターフェイス インプリメンタが別のオブジェクトへの参照であることを示します。

public interface class IObjectReference
public interface IObjectReference
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface IObjectReference
[System.Runtime.InteropServices.ComVisible(true)]
public interface IObjectReference
type IObjectReference = interface
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type IObjectReference = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IObjectReference = interface
Public Interface IObjectReference
派生
属性

注意 (実装者)

現在のオブジェクトが完全に復元されるまで解決できない、別のオブジェクトへの参照であるオブジェクトにこのインターフェイスを実装します。 fixup ステージでは、 を実装するすべての IObjectReference オブジェクトが実際のオブジェクトに対して照会され、そのオブジェクトがグラフに挿入されます。 Fixup は、オブジェクトの逆シリアル化プロセス中にまだ完了していない参照を最終処理するプロセスを指します。

メソッド

GetRealObject(StreamingContext)
古い.

シリアル化されたストリームが指定するオブジェクトではなく、逆シリアル化する必要がある実際のオブジェクトを返します。

適用対象