RuntimeMethodHandle.GetObjectData(SerializationInfo, StreamingContext) RuntimeMethodHandle.GetObjectData(SerializationInfo, StreamingContext) RuntimeMethodHandle.GetObjectData(SerializationInfo, StreamingContext) RuntimeMethodHandle.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
public void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The object to populate with serialization information.

context
StreamingContext StreamingContext StreamingContext StreamingContext

(Reserved) The place to store and retrieve serialized data.

Implements

Exceptions

Remarks

The context parameter is reserved; it does not currently participate in this operation.

For more information, see the SerializationInfo.AddValue method.

Security

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

Applies to