Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StateMachineStateQuery Class

.NET Framework 4.6 and 4.5

When added to the queries, subscribes to state machine state execution records.


Namespace:  System.Activities.Statements.Tracking
Assembly:  System.Activities (in System.Activities.dll)

public ref class StateMachineStateQuery sealed : public CustomTrackingQuery

The StateMachineStateQuery type exposes the following members.

Public methodStateMachineStateQueryInitializes a new instance of the StateMachineStateQuery class.

Public propertyActivityNameGets or sets the name of the activity that generated the tracking record. (Inherited from CustomTrackingQuery.)
Public propertyNameGets the name that distinguishes this tracking record.
Public propertyQueryAnnotationsA collection of data in the form of name/value pairs that is included with data that is returned by this query. (Inherited from TrackingQuery.)

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft