Hi,
I am trying to create a solution that will keep track of the changes
occurring in:
BeginInvoke, Invoke, and EndEnvoke of a delegate/event
I could associate then to it a OnChangingState event handler which in turn
will keep track of changes in its state using an enumerator called STATE.
For instance as in:
public enum STATE
{
Begin = 0,
BeforeStart,
Start,
Started,
AfterStart,
BeforeStop,
Stop,
AfterStop,
Stopped,
BeforeError,
Error,
AfterError,
End
}
Any insights? Should I use a Timer with my delegates? I am using .NET 2.0
Thanks,
Yama