Share via


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

Return Value

Type: System.Object

Deserialized object.

See Also

DeserializeXmlToObject Overload
SerializationHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top