ActivationContext.ISerializable.GetObjectData(SerializationInfo, StreamingContext) ActivationContext.ISerializable.GetObjectData(SerializationInfo, StreamingContext) ActivationContext.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo with the data needed to serialize the target 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

Parameters

info
SerializationInfo SerializationInfo SerializationInfo

The object to populate with data.

context
StreamingContext StreamingContext StreamingContext

The structure for this serialization.

Implements

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to