Düzenle

Aracılığıyla paylaş


__ConsumerFailureEvent class

The __ConsumerFailureEvent system class represents the occurrence of some other event that is being dropped because of the failure of an event consumer.

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 __ConsumerFailureEvent : __EventDroppedEvent
{
  uint32              ErrorCode;
  string              ErrorDescription;
  object              ErrorObject;
  object              Event;
  __EventConsumer REF IntendedConsumer;
  uint8               SECURITY_DESCRIPTOR[];
  uint64              TIME_CREATED;
};

Members

The __ConsumerFailureEvent class has these types of members:

Properties

The __ConsumerFailureEvent class has these properties.

ErrorCode

Data type: uint32

Access type: Read-only

Error code returned by the consumer.

ErrorDescription

Data type: string

Access type: Read-only

Extended error code description, if available.

ErrorObject

Data type: object

Access type: Read-only

Object in error.

Event

Data type: object

Access type: Read-only

Event in error. This property is inherited from __EventDroppedEvent.

IntendedConsumer

Data type: __EventConsumer

Access type: Read-only

Reference to the intended consumer. This property is inherited from __EventDroppedEvent.

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor used by the event provider to determine which users can receive the event. This property is inherited from __Event.

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time at which the event was generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Times (UTC) format. This property is inherited from __Event.

For more information about using uint64 values in scripts, see Scripting in WMI.

Remarks

The __ConsumerFailureEvent class is derived from __EventDroppedEvent.

Requirements

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

See also

__EventDroppedEvent

WMI System Classes