.NET Framework Class Library
Timer Members

Implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window.

The Timer type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkTimerOverloaded. Initializes a new instance of the Timer class.
Top
Methods

  NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkDisposeOverloaded. Disposes of the resources, other than memory, used by the timer.
Public methodSupported by the .NET Compact FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalizeOverloaded.
Public methodSupported by the .NET Compact FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodSupported by the .NET Compact FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseCloneOverloaded.
Protected methodOnTickRaises the Tick event.
Public methodStartStarts the timer.
Public methodStopStops the timer.
Public methodSupported by the .NET Compact FrameworkToStringOverloaded.
Top
Properties

  NameDescription
Protected propertyCanRaiseEventsGets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public propertySupported by the .NET Compact FrameworkEnabledGets or sets whether the timer is running.
Protected propertySupported by the .NET Compact FrameworkEventsGets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertySupported by the .NET Compact FrameworkIntervalGets or sets the time, in milliseconds, before the Tick event is raised relative to the last occurrence of the Tick event.
Public propertySupported by the .NET Compact FrameworkSiteGets or sets the ISite of the Component. (Inherited from Component.)
Public propertyTagGets or sets an arbitrary string representing some type of user state.
Top
Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public eventSupported by the .NET Compact FrameworkTickOccurs when the specified timer interval has elapsed and the timer is enabled.
Top
See Also

Reference

Tags :


Page view tracker