SccmSerializer Class

 

Applies To: System Center 2012 Configuration Manager

Serializes or deserializes an application between the C# instance and the XML format.

Namespace:   Microsoft.ConfigurationManagement.ApplicationManagement.Serialization
Assembly:  Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.ApplicationManagement.Serialization.SccmSerializer

Syntax

public static class SccmSerializer
public ref class SccmSerializer abstract sealed 
Public NotInheritable Class SccmSerializer

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static Schema

The XML schema set for the application.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Deserialize(XDocument)

Deserializes an application from an XML file to an in-memory instance.

System_CAPS_pubmethodSystem_CAPS_static Deserialize(XDocument, Boolean)

Deserializes the application from an XML file to an in-memory instance.

System_CAPS_pubmethodSystem_CAPS_static DeserializeFromString(String)

Deserializes an application from an XML string to an in-memory instance.

System_CAPS_pubmethodSystem_CAPS_static DeserializeFromString(String, Boolean)

Deserializes the application from XML string to an in-memory instance.

System_CAPS_pubmethodSystem_CAPS_static Serialize(Application)

Serializes an application instance to an XML file.

System_CAPS_pubmethodSystem_CAPS_static Serialize(Application, Boolean)

Serializes the application instance to an XML file.

System_CAPS_pubmethodSystem_CAPS_static SerializeToString(Application)

Serializes an application instance to an XML string.

System_CAPS_pubmethodSystem_CAPS_static SerializeToString(Application, Boolean)

Serializes the application instance to an XML string.

System_CAPS_pubmethodSystem_CAPS_static Validate(XDocument)

Validates an XML document against the application digest schema and semantic rules.

System_CAPS_pubmethodSystem_CAPS_static ValidateFromString(String)

Validates an XML document in string format against the application digest schema and semantic rules.

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static Namespace

The namespace of the application.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.ApplicationManagement.Serialization Namespace

Return to top