共用方式為


StrongNameKeyPair.IDeserializationCallback.OnDeserialization(Object) 方法

定義

執行於整個物件 Graph 已經還原序列化時。

 virtual void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System::Object ^ sender) = System::Runtime::Serialization::IDeserializationCallback::OnDeserialization;
void IDeserializationCallback.OnDeserialization (object sender);
abstract member System.Runtime.Serialization.IDeserializationCallback.OnDeserialization : obj -> unit
override this.System.Runtime.Serialization.IDeserializationCallback.OnDeserialization : obj -> unit
Sub OnDeserialization (sender As Object) Implements IDeserializationCallback.OnDeserialization

參數

sender
Object

初始化回呼的物件。

實作

例外狀況

僅限 .NET Core 與 .NET 5+:在所有情況下。

適用於