Represents a class that manages the current instance of a StateMachineWorkflowActivity. This class cannot be inherited.
Public NotInheritable Class StateMachineWorkflowInstance
Dim instance As StateMachineWorkflowInstance
public sealed class StateMachineWorkflowInstance
public ref class StateMachineWorkflowInstance sealed
public final class StateMachineWorkflowInstance
This class also provides the query interface over the current instance of the StateMachineWorkflowActivity. By using an instance of this class, you can make various queries on the StateMachineWorkflowInstance.
Typical queries that can be made are as follows:
Current state of the state machine.
Possible transitions from the current state.
History of transitions for the state machine instance.
Enumeration of all the states in the state machine.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003