X509Certificate.ISerializable.GetObjectData(SerializationInfo, StreamingContext) 方法

定義

取得重新建立目前 X509Certificate 物件的執行個體所需之全部資料的序列化資訊。Gets serialization information with all the data needed to recreate an instance of the current X509Certificate object.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
[System.Security.SecurityCritical]
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

info
SerializationInfo

要使用序列化資訊來填入的物件。The object to populate with serialization information.

context
StreamingContext

序列化的目的端內容。The destination context of the serialization.

實作

屬性

安全性

SecurityCriticalAttribute
需要完全信任立即呼叫者。requires full trust for the immediate caller. 部分信任或透明的程式碼無法使用這個成員。This member cannot be used by partially trusted or transparent code.

適用於