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

定義

實作 ISerializable 介面,並傳回將 PeerApplication 目標序列化所需的資料。Implements the ISerializable interface and returns the data required to serialize the target PeerApplication.

 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

要填入資料的 SerializationInfo 物件。The SerializationInfo object to populate with data.

context
StreamingContext

這個序列化的目的端。The destination for this serialization.

實作

屬性

適用於

另請參閱