This is my code:
public sealed class ProcessingTask : ProcessingObject { private CancellationTokenSource _cancelToken; private int _timeOut = 100
You're looking for CancellationToken.Register:
Registers a delegate that will be called when this CancellationToken is canceled.
Register an action like this:
_cancelToken.Token.Register(() => DoStuff());