SerializationHelpers.DeserializeObjectFromBinary Method (Byte[], Type)
Deserializes an object by using BinaryFormatter.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static object DeserializeObjectFromBinary(
byte[] rawObject,
Type objectType
)
public:
static Object^ DeserializeObjectFromBinary(
array<unsigned char>^ rawObject,
Type^ objectType
)
Public Shared Function DeserializeObjectFromBinary (
rawObject As Byte(),
objectType As Type
) As Object
Parameters
rawObject
Type: System.Byte[]The raw object.
objectType
Type: System.TypeThe object type.
Return Value
Type: System.Object
Deserialized object.
See Also
DeserializeObjectFromBinary Overload
SerializationHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top