C# Class Microsoft.Research.DataOnboarding.FilePurgeService.WorkerRole

Inheritance: RoleEntryPoint
显示文件 Open project: CDLUC3/dataup2

Public Methods

Method Description
OnStart ( ) : bool

Called by Windows Azure to initialize the role instance.

OnStop ( ) : void

Called to stop the worker role.

Run ( ) : void

Called by Windows Azure after the role instance has been initialized. This method serves as the main thread of execution for your role.

WorkerRole ( ) : Microsoft.Practices.Unity

Private Methods

Method Description
RegisterAdapters ( Microsoft.Practices.Unity.UnityContainer container ) : void

Registers the required adapters.

RegisterLocalResources ( ) : void
RegisterRepositories ( Microsoft.Practices.Unity.UnityContainer container ) : void
RegisterRoleEnvironmentChangeDelegate ( ) : void
RegisterServices ( Microsoft.Practices.Unity.UnityContainer container ) : void
RegisterUnityContainer ( ) : void
RoleEnvironment_Changing ( object sender, RoleEnvironmentChangingEventArgs e ) : void

Method Details

OnStart() public method

Called by Windows Azure to initialize the role instance.
public OnStart ( ) : bool
return bool

OnStop() public method

Called to stop the worker role.
public OnStop ( ) : void
return void

Run() public method

Called by Windows Azure after the role instance has been initialized. This method serves as the main thread of execution for your role.
public Run ( ) : void
return void

WorkerRole() public method

public WorkerRole ( ) : Microsoft.Practices.Unity
return Microsoft.Practices.Unity