Class TimerAttribute
An attribute which indicates the method should be invoked at a specified interval.
[AttributeUsage(AttributeTargets.Method)]
public class TimerAttribute : Attribute
- Inheritance
-
TimerAttribute
- Inherited Members
Constructors
TimerAttribute(double)
Initializes a new instance of the TimerAttribute class.
public TimerAttribute(double interval)
Parameters
intervaldoubleThe interval of the timer in milliseconds.
Properties
Interval
Gets or sets the interval of the timer in milliseconds.
public double Interval { get; set; }