__IntervalTimerInstruction

[This is preliminary documentation and subject to change.]

The __IntervalTimerInstruction system class is used to generate events at intervals, much like a WM_TIMER message in Microsoft® Windows® programming. If an instance of this class is created and associated to a consumer, the consumer receives these events at the requested interval. Due to operating system behavior, it is not guaranteed that events will be delivered at precisely the requested interval.

class __InstanceOperationEvent : __Event
{
    sint32 IntervalBetweenEvents;
};

Properties

See also the properties in __TimerInstruction.

IntervalBetweenEvents
The number of milliseconds between event firings.

Example

The following MOF declaration can be used to configure the timer generator to issue an event named MyEvent every 10 seconds:

instance of __IntervalTimerInstruction
{
TimerId = "MyEvent"; // __TimerInstruction property
IntervalBetweenEvents = 10000;
};
 

Note:  To actually receive such an event, a consumer must be defined and associated to this instance.

See Also

Timer Events