[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
Object 
DeserializeXmlToObject(
	
string 
value,
	
Type 
messageType
)
Public 
Shared 
Function 
DeserializeXmlToObject ( _
	
value 
As 
String, _
	
messageType 
As 
Type _
) 
As 
Object
public:
static 
Object^ 
DeserializeXmlToObject(
	
String^ 
value, 
	
Type^ 
messageType
)

Parameters

value
String
messageType
Type

Return Value

Deserialized object

See Also