C# 클래스 fCraft.SchedulerTask

A task to be executed by the Scheduler. Stores timing information and state.
파일 보기 프로젝트 열기: GlennMR/800craft 1 사용 예제들

Private Properties

프로퍼티 타입 설명
RunForever SchedulerTask
SchedulerTask System
SchedulerTask System
SchedulerTask System

공개 메소드들

메소드 설명
RunForever ( System.TimeSpan interval ) : SchedulerTask

Runs the task forever at a given interval, until manually stopped.

RunForever ( System.TimeSpan interval, System.TimeSpan delay ) : SchedulerTask

Runs the task forever at a given interval after an initial delay, until manually stopped.

RunForever ( object userState, System.TimeSpan interval, System.TimeSpan delay ) : SchedulerTask

Runs the task forever at a given interval after an initial delay, until manually stopped.

RunManual ( ) : SchedulerTask

Executes the task once immediately, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.

RunManual ( System.DateTime time ) : SchedulerTask

Executes the task once at a given time, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.

RunManual ( System.TimeSpan delay ) : SchedulerTask

Executes the task once after a delay, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.

RunOnce ( ) : SchedulerTask

Runs the task once, as quickly as possible. Callback is invoked from the Scheduler thread.

RunOnce ( System.DateTime time ) : SchedulerTask

Runs the task once at a given date. If the given date is in the past, the task is ran immediately.

RunOnce ( System.TimeSpan delay ) : SchedulerTask

Runs the task once, after a given delay.

RunOnce ( object userState, System.DateTime time ) : SchedulerTask

Runs the task once at a given date. If the given date is in the past, the task is ran immediately.

RunOnce ( object userState, System.TimeSpan delay ) : SchedulerTask

Runs the task once, after a given delay.

RunRepeating ( System.TimeSpan delay, System.TimeSpan interval, int times ) : SchedulerTask

Runs the task a given number of times, at a given interval after an initial delay.

RunRepeating ( [ userState, System.TimeSpan delay, System.TimeSpan interval, int times ) : SchedulerTask

Runs the task a given number of times, at a given interval after an initial delay.

Stop ( ) : SchedulerTask

Stops the task, and removes it from the schedule.

ToString ( ) : string

비공개 메소드들

메소드 설명
RunForever ( ) : SchedulerTask
SchedulerTask ( ) : System
SchedulerTask ( [ callback, bool isBackground ) : System
SchedulerTask ( [ callback, bool isBackground, [ userState ) : System

메소드 상세

RunForever() 공개 메소드

Runs the task forever at a given interval, until manually stopped.
public RunForever ( System.TimeSpan interval ) : SchedulerTask
interval System.TimeSpan
리턴 SchedulerTask

RunForever() 공개 메소드

Runs the task forever at a given interval after an initial delay, until manually stopped.
public RunForever ( System.TimeSpan interval, System.TimeSpan delay ) : SchedulerTask
interval System.TimeSpan
delay System.TimeSpan
리턴 SchedulerTask

RunForever() 공개 메소드

Runs the task forever at a given interval after an initial delay, until manually stopped.
public RunForever ( object userState, System.TimeSpan interval, System.TimeSpan delay ) : SchedulerTask
userState object
interval System.TimeSpan
delay System.TimeSpan
리턴 SchedulerTask

RunManual() 공개 메소드

Executes the task once immediately, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.
public RunManual ( ) : SchedulerTask
리턴 SchedulerTask

RunManual() 공개 메소드

Executes the task once at a given time, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.
public RunManual ( System.DateTime time ) : SchedulerTask
time System.DateTime
리턴 SchedulerTask

RunManual() 공개 메소드

Executes the task once after a delay, and suspends (but does not stop). A SchedulerTask object can be reused many times if ran manually.
public RunManual ( System.TimeSpan delay ) : SchedulerTask
delay System.TimeSpan
리턴 SchedulerTask

RunOnce() 공개 메소드

Runs the task once, as quickly as possible. Callback is invoked from the Scheduler thread.
public RunOnce ( ) : SchedulerTask
리턴 SchedulerTask

RunOnce() 공개 메소드

Runs the task once at a given date. If the given date is in the past, the task is ran immediately.
public RunOnce ( System.DateTime time ) : SchedulerTask
time System.DateTime
리턴 SchedulerTask

RunOnce() 공개 메소드

Runs the task once, after a given delay.
public RunOnce ( System.TimeSpan delay ) : SchedulerTask
delay System.TimeSpan
리턴 SchedulerTask

RunOnce() 공개 메소드

Runs the task once at a given date. If the given date is in the past, the task is ran immediately.
public RunOnce ( object userState, System.DateTime time ) : SchedulerTask
userState object
time System.DateTime
리턴 SchedulerTask

RunOnce() 공개 메소드

Runs the task once, after a given delay.
public RunOnce ( object userState, System.TimeSpan delay ) : SchedulerTask
userState object
delay System.TimeSpan
리턴 SchedulerTask

RunRepeating() 공개 메소드

Runs the task a given number of times, at a given interval after an initial delay.
public RunRepeating ( System.TimeSpan delay, System.TimeSpan interval, int times ) : SchedulerTask
delay System.TimeSpan
interval System.TimeSpan
times int
리턴 SchedulerTask

RunRepeating() 공개 메소드

Runs the task a given number of times, at a given interval after an initial delay.
public RunRepeating ( [ userState, System.TimeSpan delay, System.TimeSpan interval, int times ) : SchedulerTask
userState [
delay System.TimeSpan
interval System.TimeSpan
times int
리턴 SchedulerTask

Stop() 공개 메소드

Stops the task, and removes it from the schedule.
public Stop ( ) : SchedulerTask
리턴 SchedulerTask

ToString() 공개 메소드

public ToString ( ) : string
리턴 string