__TimerInstruction class

The __TimerInstruction abstract system class specifies instructions on how timer events should be generated for consumers.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.


[abstract]class __TimerInstruction : __EventGenerator
  boolean SkipIfPassed = FALSE;
  string  TimerId;


The __TimerInstruction class has these types of members:


The __TimerInstruction class has these properties.

Data type: boolean
Access type: Read-only

If True, the timer event does not occur if WMI is unavailable to generate it at the appropriate time interval, or the consumer requesting to receive the event is unavailable. The default setting is False. When WMI or the consumer becomes available again, a notification event will be generated and received.

Data type: string
Access type: Read-only
Qualifiers: Key

Unique user-assigned string that identifies this particular timer event. To avoid naming conflicts with other timer identifiers, the string form of a distributed computer environment (DCE)-style GUID can be used. This property is part of the __TimerEvent instance that represents the event.


The __TimerInstruction class is derived from __EventGenerator.

The __TimerInstruction subclasses are __AbsoluteTimerInstruction, used by consumers to register for an absolute timer event, and __IntervalTimerInstruction, used to register for an interval timer event.


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003


all WMI namespaces

See also

WMI System Classes



© 2015 Microsoft