MSFT_WmiError
A Windows error object that encapsulates what is in CIM_Error as well as includes error code, errorCategory, errorMessage and errorType.
Properties
In this WMI class, all WMI properties are read-only. You can only read values but not change them.
CIMStatusCode
Data type UInt32
The CIM status code that characterizes this instance.
This property defines the status codes that MAY be return by a conforming CIM Server or Listener. Note that not all status codes are valid for each operation. The specification for each operation SHOULD define the status codes that may be returned by that operation.
The following values for CIM status code are defined:
$CIMStatusCode_ReturnValue = @{ 1='CIM_ERR_FAILED' 2='CIM_ERR_ACCESS_DENIED' 3='CIM_ERR_INVALID_NAMESPACE' 4='CIM_ERR_INVALID_PARAMETER' 5='CIM_ERR_INVALID_CLASS' 6='CIM_ERR_NOT_FOUND' 7='CIM_ERR_NOT_SUPPORTED' 8='CIM_ERR_CLASS_HAS_CHILDREN' 9='CIM_ERR_CLASS_HAS_INSTANCES' 10='CIM_ERR_INVALID_SUPERCLASS' 11='CIM_ERR_ALREADY_EXISTS' 12='CIM_ERR_NO_SUCH_PROPERTY' 13='CIM_ERR_TYPE_MISMATCH' 14='CIM_ERR_QUERY_LANGUAGE_NOT_SUPPORTED' 15='CIM_ERR_INVALID_QUERY' 16='CIM_ERR_METHOD_NOT_AVAILABLE' 17='CIM_ERR_METHOD_NOT_FOUND' 18='CIM_ERR_UNEXPECTED_RESPONSE' 19='CIM_ERR_INVALID_RESPONSE_DESTINATION' 20='CIM_ERR_NAMESPACE_NOT_EMPTY' 21='CIM_ERR_INVALID_ENUMERATION_CONTEXT' 22='CIM_ERR_INVALID_OPERATION_TIMEOUT' 23='CIM_ERR_PULL_HAS_BEEN_ABANDONED' 24='CIM_ERR_PULL_CANNOT_BE_ABANDONED' 25='CIM_ERR_FILTERED_ENUMERATION_NOT_SUPPORTED' 26='CIM_ERR_CONTINUATION_ON_ERROR_NOT_SUPPORTED' 27='CIM_ERR_SERVER_LIMITS_EXCEEDED' 28='CIM_ERR_SERVER_IS_SHUTTING_DOWN' 29='CIM_ERR_QUERY_FEATURE_NOT_SUPPORTED' ..='DMTF Reserved' } |
CIMStatusCodeDescription
Data type String
A free-form string containing a human-readable description of CIMStatusCode. This description MAY extend, but MUST be consistent with, the definition of CIMStatusCode.
error_Category
Data type UInt16
Error Category.
error_Code
Data type UInt32
Error code.
error_Type
Data type String
Error Type.
error_WindowsErrorMessage
Data type String
Windows error message.
ErrorSource
Data type String
The identifying information of the entity (i.e., the instance) generating the error. If this entity is modeled in the CIM Schema, this property contains the path of the instance encoded as a string parameter. If not modeled, the property contains some identifying string that names the entity that generated the error. The path or identifying string is formatted per the ErrorSourceFormat property.
ErrorSourceFormat
Data type UInt16
An array containing the dynamic content of the message.
$ErrorSourceFormat_ReturnValue = @{ 0='Unknown' 1='Other' 2='CIMObjectPath' ..='DMTF Reserved' } |
ErrorType
Data type UInt16
Primary classification of the error. The following values are defined:
$ErrorType_ReturnValue = @{ 0='Unknown' 1='Other' 2='Communications Error' 3='Quality of Service Error' 4='Software Error' 5='Hardware Error' 6='Environmental Error' 7='Security Error' 8='Oversubscription Error' 9='Unavailable Resource Error' 10='Unsupported Operation Error' ..='DMTF Reserved' } |
hDefKey
Data type UInt32
Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h:
HKEY_CLASSES_ROOT (0x80000000)
HKEY_CURRENT_USER (0x80000001)
HKEY_LOCAL_MACHINE (0x80000002)
HKEY_USERS (0x80000003)
HKEY_CURRENT_CONFIG (0x80000005)
HKEY_DYN_DATA (0x80000006)
Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only.
Message
Data type String
The formatted message. This message is constructed by combining some or all of the dynamic elements specified in the MessageArguments property with the static elements uniquely identified by the MessageID in a message registry or other catalog associated with the OwningEntity.
MessageArguments
Data type String
An array containing the dynamic content of the message.
MessageID
Data type String
An opaque string that uniquely identifies, within the scope of the OwningEntity, the format of the Message.
OtherErrorSourceFormat
Data type String
A string defining “Other” values for ErrorSourceFormat. This value MUST be set to a non NULL value when ErrorSourceFormat is set to a value of 1 (“Other”). For all other values of ErrorSourceFormat, the value of this string must be set to NULL.
OtherErrorType
Data type String
A free-form string describing the ErrorType when 1, “Other”, is specified as the ErrorType.
OWningEntity
Data type String
A string that uniquely identifies the entity that owns the definition of the format of the Message described in this instance. OwningEntity MUST include a copyrighted, trademarked or otherwise unique name that is owned by the business entity or standards body defining the format.
PerceivedSeverity
Data type UInt16
An enumerated value that describes the severity of the Indication from the notifier’s point of view:
$PerceivedSeverity_ReturnValue = @{ 0='Unknown' 1='Other' 2='Information' 3='Degraded/Warning' 4='Minor' 5='Major' 6='Critical' 7='Fatal/NonRecoverable' ..='DMTF Reserved' } |
ProbableCause
Data type UInt16
An enumerated value that describes the probable cause of the error.
$ProbableCause_ReturnValue = @{ 0='Unknown' 1='Other' 2='Adapter/Card Error' 3='Application Subsystem Failure' 4='Bandwidth Reduced' 5='Connection Establishment Error' 6='Communications Protocol Error' 7='Communications Subsystem Failure' 8='Configuration/Customization Error' 9='Congestion' 10='Corrupt Data' 11='CPU Cycles Limit Exceeded' 12='Dataset/Modem Error' 13='Degraded Signal' 14='DTE-DCE Interface Error' 15='Enclosure Door Open' 16='Equipment Malfunction' 17='Excessive Vibration' 18='File Format Error' 19='Fire Detected' 20='Flood Detected' 21='Framing Error' 22='HVAC Problem' 23='Humidity Unacceptable' 24='I/O Device Error' 25='Input Device Error' 26='LAN Error' 27='Non-Toxic Leak Detected' 28='Local Node Transmission Error' 29='Loss of Frame' 30='Loss of Signal' 31='Material Supply Exhausted' 32='Multiplexer Problem' 33='Out of Memory' 34='Output Device Error' 35='Performance Degraded' 36='Power Problem' 37='Pressure Unacceptable' 38='Processor Problem (Internal Machine Error)' 39='Pump Failure' 40='Queue Size Exceeded' 41='Receive Failure' 42='Receiver Failure' 43='Remote Node Transmission Error' 44='Resource at or Nearing Capacity' 45='Response Time Excessive' 46='Retransmission Rate Excessive' 47='Software Error' 48='Software Program Abnormally Terminated' 49='Software Program Error (Incorrect Results)' 50='Storage Capacity Problem' 51='Temperature Unacceptable' 52='Threshold Crossed' 53='Timing Problem' 54='Toxic Leak Detected' 55='Transmit Failure' 56='Transmitter Failure' 57='Underlying Resource Unavailable' 58='Version Mismatch' 59='Previous Alert Cleared' 60='Login Attempts Failed' 61='Software Virus Detected' 62='Hardware Security Breached' 63='Denial of Service Detected' 64='Security Credential Mismatch' 65='Unauthorized Access' 66='Alarm Received' 67='Loss of Pointer' 68='Payload Mismatch' 69='Transmission Error' 70='Excessive Error Rate' 71='Trace Problem' 72='Element Unavailable' 73='Element Missing' 74='Loss of Multi Frame' 75='Broadcast Channel Failure' 76='Invalid Message Received' 77='Routing Failure' 78='Backplane Failure' 79='Identifier Duplication' 80='Protection Path Failure' 81='Sync Loss or Mismatch' 82='Terminal Problem' 83='Real Time Clock Failure' 84='Antenna Failure' 85='Battery Charging Failure' 86='Disk Failure' 87='Frequency Hopping Failure' 88='Loss of Redundancy' 89='Power Supply Failure' 90='Signal Quality Problem' 91='Battery Discharging' 92='Battery Failure' 93='Commercial Power Problem' 94='Fan Failure' 95='Engine Failure' 96='Sensor Failure' 97='Fuse Failure' 98='Generator Failure' 99='Low Battery' 100='Low Fuel' 101='Low Water' 102='Explosive Gas' 103='High Winds' 104='Ice Buildup' 105='Smoke' 106='Memory Mismatch' 107='Out of CPU Cycles' 108='Software Environment Problem' 109='Software Download Failure' 110='Element Reinitialized' 111='Timeout' 112='Logging Problems' 113='Leak Detected' 114='Protection Mechanism Failure' 115='Protecting Resource Failure' 116='Database Inconsistency' 117='Authentication Failure' 118='Breach of Confidentiality' 119='Cable Tamper' 120='Delayed Information' 121='Duplicate Information' 122='Information Missing' 123='Information Modification' 124='Information Out of Sequence' 125='Key Expired' 126='Non-Repudiation Failure' 127='Out of Hours Activity' 128='Out of Service' 129='Procedural Error' 130='Unexpected Information' ..='DMTF Reserved' } |
ProbableCauseDescription
Data type String
A free-form string describing the probable cause of the error.
RecommendedActions
Data type String
A free-form string describing recommended actions to take to resolve the error.
sSubKeyName
Data type String
Specifies the path that contains the subkeys to be enumerated.
Community Content
You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!
Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.
Content last updated: 2013-12-27 12:29:28 (UTC).