StateMessage Constructor (StateMessageState, StateMessageTopic)
Initializes a new instance of the StateMessage class. Builds a state message with a predefined state and topic.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public StateMessage(
StateMessageState state,
StateMessageTopic topic
)
public:
StateMessage(
StateMessageState^ state,
StateMessageTopic^ topic
)
Public Sub New (
state As StateMessageState,
topic As StateMessageTopic
)
Parameters
state
Type: Microsoft.ConfigurationManagement.Messaging.Messages.StateMessageStateThe state of the state message.
topic
Type: Microsoft.ConfigurationManagement.Messaging.Messages.StateMessageTopicThe topic of the state message.
See Also
StateMessage Overload
StateMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top