共用方式為


X509Certificate.IDeserializationCallback.OnDeserialization(Object) 方法

定義

實作 ISerializable 介面並在還原序列化完成時,由還原序列化事件回呼。

 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+:在所有情況下。

適用於