Export (0) Print
Expand All

ManagementBaseObject.ISerializable.GetObjectData Method

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.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

ExceptionCondition
ArgumentNullException

info is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft