StateMessage Class
Represents 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.InventoryReportBodyElement
Microsoft.ConfigurationManagement.Messaging.Messages.StateMessage
Syntax
[SerializableAttribute]
public sealed class StateMessage : InventoryReportBodyElement
[SerializableAttribute]
public ref class StateMessage sealed : InventoryReportBodyElement
<SerializableAttribute>
Public NotInheritable Class StateMessage
Inherits InventoryReportBodyElement
Constructors
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. |
Properties
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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