Export (0) Print
Expand All

MSMCAEvent_SystemEventError class

The MSMCAEvent_SystemEventError class indicates that an Intelligent Platform Management Interface (IPMI) system event has occurred. The error is written to the SMBIOS System Event Log (SEL). This class is available only in 64-bit Windows systems.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class MSMCAEvent_SystemEventError : WMIEvent
{
  boolean Active;
  uint32  AdditionalErrors;
  uint32  Cpu;
  uint8   ErrorSeverity;
  string  InstanceName;
  uint8   RawRecord[];
  uint64  RecordId;
  uint8   SEL_DATA1;
  uint8   SEL_DATA2;
  uint8   SEL_DATA3;
  uint8   SEL_EVENT_DIR_TYPE;
  uint8   SEL_EVM_REV;
  uint16  SEL_GENERATOR_ID;
  uint16  SEL_RECORD_ID;
  uint8   SEL_RECORD_TYPE;
  uint8   SEL_SENSOR_NUM;
  uint8   SEL_SENSOR_TYPE;
  uint64  SEL_TIME_STAMP;
  uint32  Size;
  uint32  Type;
  uint64  VALIDATION_BITS;
  uint32  LogToEventlog;
};

Members

The MSMCAEvent_SystemEventError class has these types of members:

Properties

The MSMCAEvent_SystemEventError class has these properties.

Active
Data type: boolean
Access type: Read-only

TRUE, if this instance of the class is active; otherwise, FALSE.

AdditionalErrors
Data type: uint32
Access type: Read-only

Number of additional errors in the record.

Cpu
Data type: uint32
Access type: Read-only

CPU that reported the error. This property only applies to a multiprocessor system in which the first processor is assigned the number 0, the second processor is assigned the number 1, and so on.

ErrorSeverity
Data type: uint8
Access type: Read-only

Severity level of the error reported.

ValueMeaning
0

Recoverable

1

Fatal

2

Correctable

 

InstanceName
Data type: string
Access type: Read-only
Qualifiers: Key

Unique identifier of this instance of the class.

LogToEventlog
Data type: uint32
Access type: Read-only

If 0 (zero) then this event is not logged to the system event log.

RawRecord
Data type: uint8 array
Access type: Read-only

Array of bytes that contains the raw error record. The number of elements in the array that the Size property specifies.

RecordId
Data type: uint64
Access type: Read-only

Record identifier of the error record for this error.

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

SEL_DATA1
Data type: uint8
Access type: Read-only

Event data field 1.

SEL_DATA2
Data type: uint8
Access type: Read-only

Event data field 2.

SEL_DATA3
Data type: uint8
Access type: Read-only

Event data field 3.

SEL_EVENT_DIR_TYPE
Data type: uint8
Access type: Read-only

Event directory type.

SEL_EVM_REV
Data type: uint8
Access type: Read-only

Format version of the error message.

SEL_GENERATOR_ID
Data type: uint16
Access type: Read-only

Software identifier, if the event was software-generated.

SEL_RECORD_ID
Data type: uint16
Access type: Read-only

Record identifier used for SMBIOS system event log (SEL) access.

SEL_RECORD_TYPE
Data type: uint8
Access type: Read-only

Record type.

SEL_SENSOR_NUM
Data type: uint8
Access type: Read-only

Sensor number that generated the event.

SEL_SENSOR_TYPE
Data type: uint8
Access type: Read-only

Sensor type code of the sensor that generated the event.

SEL_TIME_STAMP
Data type: uint64
Access type: Read-only

Timestamp of the event log.

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

Size
Data type: uint32
Access type: Read-only

Size of the raw error record.

Type
Data type: uint32
Access type: Read-only

Type of event log message. These messages correspond to the event log message codes used to insert event log messages by the Windows event log consumer provider when it receives one of the events.

VALIDATION_BITS
Data type: uint64
Access type: Read-only

Validation bits used to indicate the validity of the subsequent fields.

ValueMeaning
1 0x1

SEL_RECORD_ID is valid.

2 0x2

SEL_RECORD_TYPE is valid.

4 0x4

SEL_GENERATOR_ID is valid.

8 0x8

SEL_EVM_REV is valid.

16 0x10

SEL_SENSOR_TYPE is valid.

32 0x20

SEL_SENSOR_NUM is valid.

64 0x40

SEL_EVENT_DIR is valid.

128 0x80

SEL_EVENT_DATA1 is valid.

256 0x100

SEL_EVENT_DATA2 is valid.

512 0x200

SEL_EVENT_DATA3 is valid.

 

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

Remarks

The MSMCAEvent_SystemEventError class is derived from WMIEvent.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\wmi

MOF

Wmicore.mof

DLL

Wmiprov.dll

See also

MSMCA Classes
WMIEvent

 

 

Show:
© 2014 Microsoft