Exemplo n.º 1
0
		private void AddToWTS()
		{
			using (ScheduledJobWTS scheduledJobWT = new ScheduledJobWTS())
			{
				scheduledJobWT.CreateTask(this);
			}
		}
Exemplo n.º 2
0
 /// <summary>
 /// Adds this scheduled job definition to the Task Scheduler.
 /// </summary>
 private void AddToWTS()
 {
     using (ScheduledJobWTS taskScheduler = new ScheduledJobWTS())
     {
         taskScheduler.CreateTask(this);
     }
 }