Click or drag to resize

CTimer Class

Timer class for the Crestron Simpl#
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpCTimer

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class CTimer : IDisposable

The CTimer type exposes the following members.

Constructors
 NameDescription
Public methodCTimer(CTimerCallbackFunction, Int64) Constructor for the CTimer
Public methodCTimer(CTimerCallbackFunction, Object, Int64) Constructor for the CTimer
Public methodCTimer(CTimerCallbackFunction, Object, Int64, Int64) Constructor for the CTimer
Top
Properties
 NameDescription
Public propertyDisposed Property to indicate if the CTimer has been disposed.
Top
Methods
 NameDescription
Public methodDispose Clean up of unmanaged resources.
Protected methodDispose(Boolean) Dispose implementation
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor for the timer
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReset Function to immediately start the timer
Public methodReset(Int64) Function to start the timer after the specified due time
Public methodReset(Int64, Int64) Function to start the timer after the specified due time and repeatable
Public methodStop Function to stop the timer
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also