CimDeserializer.DeserializeClass Method (Byte[], UInt32, CimClass, String, String)
Deserializes a CIM class based on serialized data, a parent class, the computer name, and the namespace name.
Namespace: Microsoft.Management.Infrastructure.Serialization
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public CimClass DeserializeClass(
byte[] serializedData,
ref uint offset,
CimClass parentClass,
string computerName,
string namespaceName
)
public:
CimClass^ DeserializeClass(
array<unsigned char>^ serializedData,
unsigned int% offset,
CimClass^ parentClass,
String^ computerName,
String^ namespaceName
)
member DeserializeClass :
serializedData:byte[] *
offset:uint32 byref *
parentClass:CimClass *
computerName:string *
namespaceName:string -> CimClass
Public Function DeserializeClass (
serializedData As Byte(),
ByRef offset As UInteger,
parentClass As CimClass,
computerName As String,
namespaceName As String
) As CimClass
Parameters
serializedData
Type: System.Byte[]A buffer that contains the serialized data.
offset
Type: System.UInt32The byte offset to the location at which to begin reading the data. When the method returns, the offset will be pointing to the next byte after the deserialized class.
parentClass
Type: Microsoft.Management.Infrastructure.CimClassAn optional parent class.
computerName
Type: System.StringThe computer name.
namespaceName
Type: System.StringThe namespace name.
Return Value
Type: Microsoft.Management.Infrastructure.CimClass
The CIM class.
See Also
DeserializeClass Overload
CimDeserializer Class
Microsoft.Management.Infrastructure.Serialization Namespace
Return to top