Share via


InventoryReportBody Class

 

Represents a body for the report. Other classes should inherit from this class.

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

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.InventoryReportBody

Syntax

[SerializableAttribute]
public sealed class InventoryReportBody : IXmlSerializable
[SerializableAttribute]
public ref class InventoryReportBody sealed : IXmlSerializable
<SerializableAttribute>
Public NotInheritable Class InventoryReportBody
    Implements IXmlSerializable

Constructors

Name Description
System_CAPS_pubmethod InventoryReportBody()

Initializes a new instance of the InventoryReportBody class.

System_CAPS_pubmethod InventoryReportBody(Collection<InventoryReportBodyElement>)

Initializes a new instance of the InventoryReportBody class.

System_CAPS_pubmethod InventoryReportBody(InventoryReportBodyElement)

Initializes a new instance of the InventoryReportBody class.

Properties

Name Description
System_CAPS_pubproperty InventoryBodyInternalObject

Gets the internal contents of the body object. This property is present for validation code to ensure its internal contents have everything properly set. This property should not be called by regular code.

System_CAPS_pubproperty RawXml

Gets the serialized XML blob for the inventory instance.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSchema()

This method is reserved and should not be used.

When you implement the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method. If you need to specify a custom schema, apply the XmlSchemaProviderAttribute to the class.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ReadXml(XmlReader)

Generates an object from its XML representation.

System_CAPS_pubmethod SetBodyObject(ICollection<InventoryReportBodyElement>)

Sets the report body contents to an array of elements.

System_CAPS_pubmethod SetBodyObject(InventoryReportBodyElement)

Sets the report body contents to an element.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WriteXml(XmlWriter)

Converts an object into its XML representation.

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.Messaging.Messages Namespace

Return to top