Any suggestions? Export (0) Print
Expand All

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.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

[SecurityPermissionAttribute(SecurityAction.LinkDemand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

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
Return to top
Show:
© 2016 Microsoft