Metronome Members
Include Protected Members
Include Inherited Members
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling. |
The Metronome type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Metronome(IExecutionLease) |
Initializes a new instance of the Metronome class
|
|
Metronome(Func<TimeSpan, IObservable<Unit>>, IExecutionLease) |
Initializes a new instance of the Metronome class
|
Methods
Name | Description | |
---|---|---|
Dispose |
Releases all resources used by the Metronome
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
RegisterActivity |
Register a new activity to be executed by the metronome at a specific tempo. The activity name can be use later to remove the activity from the metronome activity collection.
|
|
Start |
Start the metronome. Therefore, start executing all the registered activities at their specific tempo.
|
|
Stop |
Stop the metronome. Therefore, stop executing all the registered activities and release the execution lease (if a lease was used).
|
|
ToString | (Inherited from Object.) | |
UnregisterActivity |
Remove an activity from the metronome.
|
See Also
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling Namespace