Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Disposed of resources used by this monitor.
|
|
Initialize ( string name, |
Initializes the provider with the specified values.
|
|
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.
|
|
OnWaitingPeriodElapsedAdvanced ( ) : |
Code to be executed everytime the waiting period elapses, but with controls to alter the flow of subsequent iterations. This gives more fine grained control to derived classes to follow different workloads on a custom schedule. If this method is overridden, then the other OnWaitingPeriodElapsed method will never be called by this base class. |
|
Ping ( ) : void |
Pings the task to ensure that it is running.
|
Méthode | Description | |
---|---|---|
CheckIn ( ) : void |
The derived class can mark that it has reached an activity checkpoint to verify that it is still active. If too much time passes before a check in or a release of a work period then the timer is restarted when this task is pinged. |
|
RepeatingWorkerRoleTask ( ) : System |
The default constructor.
|
Méthode | Description | |
---|---|---|
ClearTimer ( ) : void | ||
Dispose ( bool disposing ) : void | ||
OnWaitingPeriodElapsed ( ) : void | ||
PauseTimer ( ) : void | ||
ResetTimer ( ) : void | ||
ResumeTimer ( |
||
StartTimer ( ) : void | ||
mainTimer__Elapsed ( object sender ) : void |
public Initialize ( string name, |
||
name | string | The name of the provider. |
configValue | Provider specific attributes. | |
Résultat | void |
public OnWaitingPeriodElapsedAdvanced ( ) : |
||
Résultat |
protected RepeatingWorkerRoleTask ( ) : System | ||
Résultat | System |