CimInstance.GetObjectData Method (SerializationInfo, StreamingContext)
Populates a serialization information object with the data needed to serialize the CimInstance object.
Namespace: Microsoft.Management.Infrastructure
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void GetObjectData(
SerializationInfo info,
StreamingContext context
)
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) sealed
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
Public Sub GetObjectData (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that holds the serialized data associated with the CimInstance object.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext object that contains the source and destination of the serialized stream associated with the CimInstance object.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
See Also
CimInstance Class
Microsoft.Management.Infrastructure Namespace
Return to top