C# 클래스 DNTScheduler.ScheduledTasksCoordinator

Scheduled Tasks Manager
상속: System.Web.Hosting.IRegisteredObject, IDisposable
파일 보기 프로젝트 열기: VahidN/DNTScheduler

공개 메소드들

메소드 설명
AddScheduledTask ( DNTScheduler.ScheduledTaskTemplate scheduledTask ) : void

Adds a new scheduled task.

AddScheduledTasks ( ) : void

Adds new scheduled tasks.

Dispose ( ) : void

Stops the scheduler.

RemoveTask ( string taskName ) : void

Removes a task from the list.

Start ( ) : void

Starts TimerCallback.

Stop ( ) : void

Stops the scheduler.

Stop ( bool immediate ) : void

Call if the app is shutting down. Should only be called by the ASP.Net container.

비공개 메소드들

메소드 설명
ScheduledTasksCoordinator ( ) : System

Scheduled Tasks Manager

taskAction ( IEnumerable taskToRun ) : void

메소드 상세

AddScheduledTask() 공개 메소드

Adds a new scheduled task.
public AddScheduledTask ( DNTScheduler.ScheduledTaskTemplate scheduledTask ) : void
scheduledTask DNTScheduler.ScheduledTaskTemplate new task
리턴 void

AddScheduledTasks() 공개 메소드

Adds new scheduled tasks.
public AddScheduledTasks ( ) : void
리턴 void

Dispose() 공개 메소드

Stops the scheduler.
public Dispose ( ) : void
리턴 void

RemoveTask() 공개 메소드

Removes a task from the list.
public RemoveTask ( string taskName ) : void
taskName string name of the task to remove
리턴 void

Start() 공개 메소드

Starts TimerCallback.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the scheduler.
public Stop ( ) : void
리턴 void

Stop() 공개 메소드

Call if the app is shutting down. Should only be called by the ASP.Net container.
public Stop ( bool immediate ) : void
immediate bool ASP.Net sets this to false first, then to true the second /// call 30 seconds later.
리턴 void