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

Definition

Provides an ISerializable implementation for serialized objects.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
public virtual 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 Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The information and data needed to serialize or deserialize an object.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The context for the serialization.

Implements

Exceptions

Security

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

Applies to