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

定义

获取含有序列化此事务所需要的数据的 SerializationInfoGets a SerializationInfo with the data required to serialize this transaction.

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

参数

serializationInfo
SerializationInfo

要填充数据的 SerializationInfoThe SerializationInfo to populate with data.

context
StreamingContext

此序列化的目标(请参阅 StreamingContext)。The destination (see StreamingContext ) for this serialization.

实现

适用于