public Task(Handler handler) { if (handler == null) throw new ArgumentNullException ("handler"); this.handler = handler; }