Partilhar via


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

See Also

StateMessage Overload
StateMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top