ManagementBaseObject::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Implements the System.Runtime.Serialization::ISerializable interface and returns the data needed to serialize the ManagementBaseObject.
Assembly: System.Management (in System.Management.dll)
private: [SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) sealed = ISerializable::GetObjectData
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
A SerializationInfo containing the information required to serialize the ManagementBaseObject.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
A StreamingContext containing the source and destination of the serialized stream associated with the ManagementBaseObject.
| Exception | Condition |
|---|---|
| ArgumentNullException | info is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: