LogicalCallContext::GetObjectData Method (SerializationInfo^, StreamingContext)
Populates a specified SerializationInfo with the data needed to serialize the current LogicalCallContext.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) sealed
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo to populate with data.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The contextual information about the source or destination of the serialization.
| Exception | Condition |
|---|---|
| ArgumentNullException | info is null. |
| SecurityException | The immediate caller does not have SerializationFormatter permission. |
The current method fills the provided SerializationInfo with all the data needed to recreate the LogicalCallContext.
The current method is an implementation of GetObjectData.
for providing serialization services. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::SerializationFormatter
Available since 1.1