Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LogicalCallContext::GetObjectData Method (SerializationInfo^, StreamingContext)

 

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

Namespace:   System.Runtime.Remoting.Messaging
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.

SecurityPermission

for providing serialization services. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::SerializationFormatter

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft