private Register ( |
||
queue | ||
return | void |
DispatcherQueue(string name, Dispatcher dispatcher, TaskExecutionPolicy policy) { if (name == null) throw new ArgumentNullException ("name"); if (dispatcher == null) throw new ArgumentNullException ("dispatcher"); this.dispatcher = dispatcher; Name = name; ThrottlingSleepInterval = new TimeSpan (0,0,0,0,10); Timescale = 1; Policy = policy; dispatcher.Register (this); }