Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a timer class that is mostly API-compliant with System.Threading.Timer, which is properly garbage-collected when it goes out of scope. This class also supports the Dispose method for deterministic cleanup.
Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)
Inheritance Hierarchy
System.Object
  Microsoft.WindowsServerSolutions.Common.ProviderFramework.GarbageCollectedTimer
Syntax
public sealed class GarbageCollectedTimer : IDisposable
public ref class GarbageCollectedTimer sealed : IDisposable
Public NotInheritable Class GarbageCollectedTimer
    Implements IDisposable
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | GarbageCollectedTimer(TimerCallback) | Initializes a new instance of the GarbageCollectedTimer class with the specified callback. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Change(Int32, Int32) | Change the limit and interval of the timer. | 
| .jpeg) | Change(TimeSpan, TimeSpan) | Change the limit and interval of the timer. | 
| .jpeg) | Change(UInt32, UInt32) | Change the limit and interval of the timer. | 
| .jpeg) | Dispose() | Release all resources that are used by the GarbageCollectedTimer object. | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | Releases unmanaged resources and performs other cleanup operations before the GarbageCollectedTimer object is reclaimed by garbage collection.(Overrides Object.Finalize().) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | ToString() | (Inherited from Object.) | 
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top