示例#1
0
		protected IntervalTask(Action taskAction)
		{
			System.Web.Hosting.HostingEnvironment.RegisterObject(this);
			this.taskAction = taskAction;
			intervalTimer = new TimerInfo(intervalCallback);
		}