ManagementBaseObject.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance.

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

protected virtual void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo to populate with data.

context
Type: System.Runtime.Serialization.StreamingContext

The destination (see StreamingContext ) for this serialization.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 2.0
Return to top
Show: