Following here is my code :
////////// Initialize the StateMachine, MySrv implements the IBugService interface.
.................
//////// Raise some events
MySrv.RaiseBugCreatedEvent(instance.InstanceId, 1);
MySrv.RaiseBugResolvedEvent(instance.InstanceId, 1);
...........
the statemachine has been designed that a bug can be resolved when it is just created.
When my program runs at the second line "MySrv.RaiseBugResolvedEvent(instance.InstanceId, 1);", the system sometimes throws the exception
"ex.InnerException {"Queue 'Message Properties
Interface Type:StateMachineApp.IBugService
Method Name:BugResolved
CorrelationValues:
' is not enabled."} System.Exception {System.InvalidOperationException}"
Who could telll me why the system sometimes throws this exception and sometimes not