System.Threading.CompressedStack.GetObjectData Method

Sets the System.Runtime.Serialization.SerializationInfo object with the logical context information needed to recreate an instance of this execution context.

Syntax

[System.Security.SecurityCritical]
public void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)

Parameters

info
The System.Runtime.Serialization.SerializationInfo object to be populated with serialization information.
context
The System.Runtime.Serialization.StreamingContext structure representing the destination context of the serialization.

Remarks

CompressedStack.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) sets a System.Runtime.Serialization.SerializationInfo with the logical call context information. During deserialization, the execution context object is reconstituted from the System.Runtime.Serialization.SerializationInfo transmitted over the stream.

For more information, see System.Runtime.Serialization.SerializationInfo.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0