Click or drag to resize

SharedTimerScheduler Class

Represents a timer manager which is the scheduler of SharedTimer.
Inheritance Hierarchy
SystemObject
  GSF.ThreadingSharedTimerScheduler

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public sealed class SharedTimerScheduler : IDisposable
View Source

The SharedTimerScheduler type exposes the following members.

Constructors
 NameDescription
Public methodSharedTimerScheduler Creates a new instance of the SharedTimerScheduler class.
Top
Properties
 NameDescription
Public propertyIsDisposed Gets flag that determines if this SharedTimerScheduler instance has been disposed.
Top
Methods
 NameDescription
Public methodCreateTimer Creates a SharedTimer using the current SharedTimerScheduler.
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
A SharedTimer with the same scheduler will use the same ThreadPool thread to process all of the SharedTimer instances in series when they have a common interval. Call order, based on registration sequence, will be preserved.
See Also