C# 클래스 Candor.Tasks.WorkerRoleTask

The base (partial) implemenation for a Worker Role.
상속: System.Configuration.Provider.ProviderBase
파일 보기 프로젝트 열기: michael-lang/candor-common

공개 메소드들

메소드 설명
OnStart ( ) : void

Starts this worker roles work loop, typically with a timer, and then returns immediately.

OnStop ( ) : void

Stops the work loop and then returns when complete. Expect the process to terminate potentially immediately after this method returns.

Ping ( ) : void

Pings the task to ensure it is working properly.

메소드 상세

OnStart() 공개 추상적인 메소드

Starts this worker roles work loop, typically with a timer, and then returns immediately.
public abstract OnStart ( ) : void
리턴 void

OnStop() 공개 추상적인 메소드

Stops the work loop and then returns when complete. Expect the process to terminate potentially immediately after this method returns.
public abstract OnStop ( ) : void
리턴 void

Ping() 공개 추상적인 메소드

Pings the task to ensure it is working properly.
public abstract Ping ( ) : void
리턴 void