__AbsoluteTimerInstruction class

The __AbsoluteTimerInstruction system class causes an event to be generated on a specific date at a specific time. An event consumer registers to receive an absolute timer event by creating an instance of this class. The event is generated one time.

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

class __AbsoluteTimerInstruction : __TimerInstruction
{
  datetime EventDateTime;
  boolean  SkipIfPassed = FALSE;
  string   TimerId;
};

Members

The __AbsoluteTimerInstruction class has these types of members:

Properties

The __AbsoluteTimerInstruction class has these properties.

EventDateTime
Data type: datetime
Access type: Read/write

Fixed-length string in DMTF format that specifies when the timer fires.

SkipIfPassed
Data type: boolean
Access type: Read-only

If TRUE, the timer event occurs if WMI cannot generate it at the correct time interval, or the consumer requesting to receive the event is unavailable. If TRUE, the event will not occur. The default is FALSE. When WMI or the consumer becomes available, a notification event is generated and received. This property is inherited from __TimerInstruction.

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 a specific timer event. To avoid naming conflicts with other timer identifiers, the string form of a distributed computer environment style GUID can be used. This property is inherited from __TimerInstruction.

Remarks

The __AbsoluteTimerInstruction class is derived from __TimerInstruction.

WMI generates the absolute timer event by creating an instance of the __TimerEvent class.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Namespace

All WMI namespaces

See also

__TimerInstruction
WMI System Classes
Receiving Timed or Repeating Events
Receiving Events at All Times
Receiving Events for the Duration of Your Application

 

 

Show: