SerializationHelpers Class
Class that handles serializing and deserializing objects.
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | DeserializeObjectFromBinary(array<Byte>^, Type^) | Deserializes an object by using BinaryFormatter. |
![]() ![]() | DeserializeObjectFromBinary<T>(array<Byte>^) | Deserializes an object by using BinaryFormatter. |
![]() ![]() | DeserializeRawToStructure(array<Byte>^, Type^) | Deserializes a raw byte stream to an object. |
![]() ![]() | DeserializeRawToStructure<T>(array<Byte>^) | Deserializes a raw byte stream to an object. |
![]() ![]() | DeserializeXmlToObject(String^, Type^) | Deserializes raw XML to an object. This method will throw an exception if deserialization fails. This method does not add an XML header. |
![]() ![]() | DeserializeXmlToObject(String^, Type^, DeserializationArguments) | Deserializes raw XML to an object. |
![]() ![]() | DeserializeXmlToObject<T>(String^) | Deserializes raw XML to an object. This method will throw an exception if deserialization fails. |
![]() ![]() | DeserializeXmlToObject<T>(String^, DeserializationArguments) | Deserializes raw XML to an object. |
![]() ![]() | GetSpecialSerializationParameters(Object^) | Gets any MessageSerializationParameters set for the message MessageSerializationAttribute. |
![]() ![]() | SerializeObjectToBinary(Object^) | Serializes an object to its binary byte stream representation. |
![]() ![]() | SerializeObjectToXml(Object^) | Serializes an object to raw XML. If serialization fails, the method throws an exception and strips XML attributes. |
![]() ![]() | SerializeObjectToXml(Object^, SerializationArguments) | Serializes the object to Unicode XML. |
![]() ![]() | SerializeObjectToXml(Object^, SerializationArguments, Encoding^) | Serializes the object to a byte array that represents XML with the specified encoding. |
![]() ![]() | SerializeObjectToXmlNode(Object^) | Serializes an object to an XML node. This method can be used to do in-place XML updates that serializers can't handle. This should be used with [XmlAnyElement] blocks. |
![]() ![]() | SerializeStringToXmlNode(String^) | Serializes a string to an XML node. This method can be used to do in-place XML updates that serializers can't handle. This should be used with [XmlAnyElement] blocks. |
![]() ![]() | SerializeStructureToRaw(Object^) | Serializes an object to a byte array. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

