C# 클래스 Candor.Tasks.WorkerRole

A container for running any number of configured background tasks.
This is designed to be run within a windows service or a Windows Azure worker role instance.
상속: IDisposable
파일 보기 프로젝트 열기: michael-lang/candor-common

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposed of resources used by this monitor.

OnStart ( ) : void

Starts this worker role and all containing tasks.

OnStop ( ) : void

Stops the worker role and all contained tasks.

WorkerRole ( ProviderCollection tasks ) : System

The primary constructor taking in the tasks to be run in this role.

비공개 메소드들

메소드 설명
ClearTimer ( ) : void
Dispose ( bool disposing ) : void
PauseTimer ( ) : void
ResetTimer ( ) : void
ResumeTimer ( ) : void
StartTimer ( ) : void
WorkerRole ( ) : System
mainTimer__Elapsed ( object sender ) : void

메소드 상세

Dispose() 공개 메소드

Disposed of resources used by this monitor.
public Dispose ( ) : void
리턴 void

OnStart() 공개 메소드

Starts this worker role and all containing tasks.
public OnStart ( ) : void
리턴 void

OnStop() 공개 메소드

Stops the worker role and all contained tasks.
public OnStop ( ) : void
리턴 void

WorkerRole() 공개 메소드

The primary constructor taking in the tasks to be run in this role.
public WorkerRole ( ProviderCollection tasks ) : System
tasks ProviderCollection
리턴 System