What is the action movie where in the end this married CIA agent gets a micro-bomb in his brain that can only be detonated by electric voltage?

I would say that was Mission Impossible III!