SerializationHelpers.DeserializeXmlToObject Method (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.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static object DeserializeXmlToObject(
string value,
Type messageType
)
public:
static Object^ DeserializeXmlToObject(
String^ value,
Type^ messageType
)
Public Shared Function DeserializeXmlToObject (
value As String,
messageType As Type
) As Object
Parameters
value
Type: System.StringThe value.
messageType
Type: System.TypeThe message type.
Return Value
Type: System.Object
Deserialized object.
See Also
DeserializeXmlToObject Overload
SerializationHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top