__EventConsumer class

The __EventConsumer system class is an abstract base class that is used in the registration of a permanent event consumer. You can derive a new event consumer class from__EventConsumer.

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.


class __EventConsumer : __IndicationRelated
  uint8  CreatorSID[];
  string MachineName;
  uint32 MaximumQueueSize;


The __EventConsumer class has these types of members:


The __EventConsumer class has these properties.

Data type: uint8 array
Access type: Read-only

Security identifier (SID) that uniquely identifies the user who creates a filter. WMI stores the SID of the user who creates an instance of __EventConsumer or the Administrator SID, depending on the operating system. For more information, see Binding an Event Filter with a Logical Consumer and Monitoring and Responding to Events with Standard Consumers.

Data type: string
Access type: Read-only

Name of the computer to which Windows Management Instrumentation (WMI) sends events.

Data type: uint32
Access type: Read-only

Maximum queue for a specific consumer, in bytes.


The __EventConsumer class is derived from __IndicationRelated, which does not have properties.

Permanent consumers define new consumer classes to describe an action to take and data to be processed when consumers receive event notifications. Permanent consumers have special security concerns. For more information, see Securing WMI Events.


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008


All WMI namespaces

See also

WMI System Classes
Receiving Events at All Times
Creating a New Permanent Event Consumer Class
Creating a Logical Consumer
Securing WMI Events