ManagementBaseObject.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Implements the ISerializable interface and returns the data needed to serialize the ManagementBaseObject.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo

A SerializationInfo containing the information required to serialize the ManagementBaseObject.

context
StreamingContext

A StreamingContext containing the source and destination of the serialized stream associated with the ManagementBaseObject.

Implements

Exceptions

info is null.

Applies to