Partager via


StateMessageUserParameters Class

 

Represents the user parameters blob of a state message.

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

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.StateMessageUserParameters

Syntax

[SerializableAttribute]
public sealed class StateMessageUserParameters
[SerializableAttribute]
public ref class StateMessageUserParameters sealed 
<SerializableAttribute>
Public NotInheritable Class StateMessageUserParameters

Constructors

Name Description
System_CAPS_pubmethod StateMessageUserParameters()

Initializes a new instance of the StateMessageUserParameters class.

Properties

Name Description
System_CAPS_pubproperty Count

Gets the count of objects in the parameters. Set is present only for XML serialization purposes, and does not perform any actions. To override the count, use OverloadedCount.

System_CAPS_pubproperty OverloadedCount

Overloads the count of objects in the parameters.

IMPORTANT: The count attribute that is serialized to XML is a real count from the contents of the internal array of parameters. Only overload Count by using this property if you're testing security or negative scenarios. Use caution when you change this value.

System_CAPS_pubproperty Parameters

Gets the parameters for the state message. This property should only be used for serialization.

System_CAPS_pubproperty UserParameter

Gets or sets the user parameter.

Methods

Name Description
System_CAPS_pubmethod AddStateMessageParameter(Object)

Adds a state message parameter.

System_CAPS_pubmethod AddStateMessageParameter(StateMessageParameter)

Adds a state message parameter.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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