GarbageCollectedTimer Class
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.
Assembly: ProviderFramework (in ProviderFramework.dll)
| Name | Description | |
|---|---|---|
![]() | GarbageCollectedTimer(TimerCallback^) | Initializes a new instance of the GarbageCollectedTimer class with the specified callback. |
| Name | Description | |
|---|---|---|
![]() | Change(Int32, Int32) | Change the limit and interval of the timer. |
![]() | Change(TimeSpan, TimeSpan) | Change the limit and interval of the timer. |
![]() | Change(UInt32, UInt32) | Change the limit and interval of the timer. |
![]() | Dispose() | Release all resources that are used by the GarbageCollectedTimer object. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | Releases unmanaged resources and performs other cleanup operations before the GarbageCollectedTimer object is reclaimed by garbage collection.(Overrides Object::Finalize().) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

