Here's what I am trying to do:
ITrackCancel myTrackCancel = new TrackCancelClass();
myTrackCancel.Reset(); //no problem here
myTrackCancel.CancelOnClick = false; // I get a System.NotImplementedException here
The exception message is "The method or operation is not implemented".
Has anybody experienced this before? Do I need to do anything to the myTrackCancel beforehand so I can set those bool values?
Just try not to reset the TrackCancel object before setting its CancelOnClick property.
"Resets the manager after the associated operation is finished."
"The Reset method should be called just before a process that may be cancelled, such as a lengthy operation, begins. The Reset method sets the state of the CancelTracker to uncancelled and returns the internal counter, which is used to update the Progressor to zero."
See this example code where it doesn't implement the 'Reset' method:
Let me know if it doesn't help.