[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
This class handles serializing and
deserializing objects
Namespace:
Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
C# | Visual Basic | Visual C++ |
[ SerializableAttribute] public static class SerializationHelpers
< SerializableAttribute> _ Public NotInheritable Class SerializationHelpers
[ SerializableAttribute] public ref class SerializationHelpers abstract sealed
Members
All Members | Methods |
Public
Protected
|
Instance
Static
|
Declared
Inherited
|
XNA Framework Only
.NET Compact Framework
Only
|
|
Member | Description | |
---|---|---|
DeserializeObjectFromBinary < (Of < <' ( T > ) > > ) ( array< Byte > [] () [] [] ) |
Deserializes object using
BinaryFormatter
|
|
DeserializeObjectFromBinary( array< Byte > [] () [] [] , Type) |
Deserializes an object using
BinaryFormatter
|
|
DeserializeRawToStructure < (Of < <' ( T > ) > > ) ( array< Byte > [] () [] [] ) |
Deserializes a raw byte stream to an
object
|
|
DeserializeRawToStructure( array< Byte > [] () [] [] , Type) |
Deserializes a raw byte stream to an
object
|
|
DeserializeXmlToObject < (Of < <' ( T > ) > > ) (String) |
Deserializes raw XML to an object. Will throw
an exception if it fails
|
|
DeserializeXmlToObject < (Of < <' ( T > ) > > ) (String, DeserializationArguments) |
Deserializes raw XML to an object.
|
|
DeserializeXmlToObject(String, Type) |
Deserializes raw XML to an object. Will throw
an exception if it fails.
Calling this function does not add an XML header and will
throw an exception if there are deserialization failures.
|
|
DeserializeXmlToObject(String, Type, DeserializationArguments) |
Deserializes raw XML to an object
|
|
GetSpecialSerializationParameters(Object) |
Gets any MessageSerializationFlags set for the
message
MessageSerializationAttribute
|
|
SerializeObjectToBinary(Object) |
Serializes object to its binary byte stream
representation
|
|
SerializeObjectToXml(Object) |
Serializes an object to raw XML, throws an
exception if serialization fails and strips XML garbage
|
|
SerializeObjectToXml(Object, SerializationArguments) |
Serializes the object to Unicode XML
|
|
SerializeObjectToXml(Object, SerializationArguments, Encoding) |
Serializes the object to a byte array
representing XML with the specified encoding
|
|
SerializeObjectToXmlNode(Object) |
Serializes an object to an XML node. This can
be used to do in-place XML updates that the serializers can't
handle. This should be used with [XmlAnyElement] blocks
|
|
SerializeStringToXmlNode(String) |
Serializes a string to an XML node. This can
be used to do in-place XML updates that the serializers can't
handle. This should be used with [XmlAnyElement] blocks
|
|
SerializeStructureToRaw(Object) |
Serializes an object to a byte array
|
Inheritance Hierarchy
System
.
.
::
.
.
Object
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . SerializationHelpers
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . SerializationHelpers