Share via


StateDetailsContentsXmlBlob Class

 

Represents state details that contain a CData XML blob.

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

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.StateDetailsContents
    Microsoft.ConfigurationManagement.Messaging.Messages.StateDetailsContentsXmlBlob
      Microsoft.ConfigurationManagement.Messaging.Messages.StateDetailsContentsClientIdentity

Syntax

[SerializableAttribute]
public class StateDetailsContentsXmlBlob : StateDetailsContents
[SerializableAttribute]
public ref class StateDetailsContentsXmlBlob : StateDetailsContents
<SerializableAttribute>
Public Class StateDetailsContentsXmlBlob
    Inherits StateDetailsContents

Constructors

Name Description
System_CAPS_pubmethod StateDetailsContentsXmlBlob()

Initializes a new instance of the StateDetailsContentsXmlBlob class.

System_CAPS_pubmethod StateDetailsContentsXmlBlob(String)

Initializes a new instance of the StateDetailsContentsXmlBlob class.

System_CAPS_pubmethod StateDetailsContentsXmlBlob(XmlNode)

Initializes a new instance of the StateDetailsContentsXmlBlob class.

Properties

Name Description
System_CAPS_pubproperty Blob

Gets or sets the CDATA blob that will go into the state details.

System_CAPS_pubproperty DetailType

Gets the detail type. (Inherited from StateDetailsContents.)

System_CAPS_pubproperty IsCdata

If true, the XML blob is a CDATA.

System_CAPS_pubproperty WriteAsCdata

Gets or sets a value that determines whether the blob should be written as a CDATA or raw XML.

If the value is null, the state is automatically determined. If a CDATA header is used, it is written as CDATA, else it is written as-is.

If true, the CDATA writer is always used and the data is written as a CDATA blob. This can cause serialization exceptions if used incorrectly.

If false, the CDATA writer is never used and data is written as-is.

Methods

Name Description
System_CAPS_pubmethod AddFromXmlNode(XmlNode)

Adds XML from an XmlNode-implementing object.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(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. (Overrides StateDetailsContents.GetSchema().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ReadXml(XmlReader)

Generates an object from its XML representation. (Overrides StateDetailsContents.ReadXml(XmlReader).)

System_CAPS_pubmethod ToString()

Returns a String that represents the current Object. (Overrides StateDetailsContents.ToString().)

System_CAPS_pubmethod WriteXml(XmlWriter)

Converts an object into its XML representation. (Overrides StateDetailsContents.WriteXml(XmlWriter).)

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