SortedSet<T>.IDeserializationCallback.OnDeserialization(Object) 方法

定義

實作 IDeserializationCallback 介面,並於還原序列化完成時,引發還原序列化事件。Implements the IDeserializationCallback interface, and raises the deserialization event when the deserialization is completed.

 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

還原序列化之事件的來源。The source of the deserialization event.

實作

例外狀況

與目前 SerializationInfo 執行個體關聯的 SortedSet<T> 物件是無效的。The SerializationInfo object associated with the current SortedSet<T> instance is invalid.

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 SortedSet<T> 執行個體轉換成 IDeserializationCallback 介面時,才能使用這個成員。It can be used only when the SortedSet<T> instance is cast to an IDeserializationCallback interface.

適用於