Search

Search:

Namespace:

Search Result
.
    foreach (var item in instance.StateHistory)
.

When you use this you might receive a InvalidOperationException with message: 'StateHistory' property requires the 'System.Workflow.Runtime.Tracking.SqlTrackingService' service. This is because it uses the SqlTrackingService to retreive all previous states from.

.

Another interesting property is the StateHistory.