Redigera

Dela via


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

Syntax

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

Members

The __EventConsumer class has these types of members:

Properties

The __EventConsumer class has these properties.

CreatorSID

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.

MachineName

Data type: string

Access type: Read-only

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

MaximumQueueSize

Data type: uint32

Access type: Read-only

Maximum queue for a specific consumer, in bytes.

Remarks

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.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

__IndicationRelated

WMI System Classes

Receiving Events at All Times

Creating a New Permanent Event Consumer Class

Creating a Logical Consumer

Securing WMI Events