StateMessage Class
Represents a state message.
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Microsoft.ConfigurationManagement.Messaging.Messages::InventoryReportBodyElement
Microsoft.ConfigurationManagement.Messaging.Messages::StateMessage
| Name | Description | |
|---|---|---|
![]() | StateMessage() | Initializes a new instance of the StateMessage class. |
![]() | StateMessage(StateMessageState^, StateMessageTopic^) | Initializes a new instance of the StateMessage class. Builds a state message with a predefined state and topic. |
| Name | Description | |
|---|---|---|
![]() | MessageTime | Gets or sets the datetime for the state message. The default value is Now. |
![]() | MessageTimeString | Gets or sets the datetime for the state message. This property is only for serialization. Use MessageTime instead. |
![]() | SerialNumber | Gets or sets the serial number for the message. Do not use for fallback status point (FSP) messages. |
![]() | Site | Gets or sets the site code details for replication. This property is required for fallback status point (FSP) messages and is not used for regular state messages. |
![]() | State | Gets or sets the state blob for the message. This property is required. |
![]() | StateDetails | Gets or sets the state message details. This property is used by fallback status point (FSP) messages. |
![]() | Topic | Gets or sets the topic details for the message. This property is required. |
![]() | UserParameters | Gets or sets the parameters for the message. This property is required. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

