__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.

Syntax

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

Members

The __TimerInstruction class has these types of members:

Properties

The __TimerInstruction class has these properties.

SkipIfPassed
Data type: boolean
Access type: Read-only

Describes whether a notification event will be generated and receive when a consumer becomes available.

FALSE

When WMI or the consumer becomes available again, a notification event will be generated and received.

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.

TimerId
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.

Remarks

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.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Namespace

All WMI namespaces

See also

__EventGenerator
WMI System Classes

 

 

Show: