Export (0) Print
Expand All

LogicalCallContext.GetObjectData Method

Populates a specified SerializationInfo with the data needed to serialize the current LogicalCallContext.

Namespace:  System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

public void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

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.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

ExceptionCondition
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft