Msvm_Error class
A specialized class that contains information about the severity, cause, recommended actions, and other data related to the failure of a CIM Operation.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
class Msvm_Error : CIM_Error
{
uint16 ErrorType;
string OtherErrorType;
string OwningEntity;
string MessageID;
string Message;
string MessageArguments[];
uint16 PerceivedSeverity;
uint16 ProbableCause;
string ProbableCauseDescription;
string RecommendedActions[];
string ErrorSource;
uint16 ErrorSourceFormat = 0;
string OtherErrorSourceFormat;
uint32 CIMStatusCode;
string CIMStatusCodeDescription;
};
Members
The Msvm_Error class has these types of members:
Properties
The Msvm_Error class has these properties.
- CIMStatusCode
-
- Data type: uint32
- Access type: Read-only
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. This property is inherited from CIM_Error.
- CIMStatusCodeDescription
-
- Data type: string
- Access type: Read-only
A free-form string containing a user-readable description of the CIMStatusCode property. This description may extend, but must be consistent with, the definition of CIMStatusCode. This property is inherited from CIM_Error.
- ErrorSource
-
- Data type: string
- Access type: Read-only
The identifying information of the entity (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. This property is inherited from CIM_Error.
- ErrorSourceFormat
-
- Data type: uint16
- Access type: Read-only
The format of the ErrorSource property is interpretable based on the value of this property. This property is inherited from CIM_Error and is set to 0.
- ErrorType
-
- Data type: uint16
- Access type: Read-only
Primary classification of the error. The following values are defined. This property is inherited from CIM_Error.
- Message
-
- Data type: string
- Access type: Read-only
The formatted message. This message is constructed by applying the dynamic content of the message, described in MessageArguments, to the format string uniquely identified, within the scope of the OwningEntity, by MessageID. This property is inherited from CIM_Error.
- MessageArguments
-
- Data type: string array
- Access type: Read-only
An array containing the dynamic content of the message. This property is inherited from CIM_Error.
- MessageID
-
- Data type: string
- Access type: Read-only
An opaque string that uniquely identifies, within the scope of the OwningEntity, the format of the message. This property is inherited from CIM_Error.
- OtherErrorSourceFormat
-
- Data type: string
- Access type: Read-only
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. This property is inherited from CIM_Error.
- OtherErrorType
-
- Data type: string
- Access type: Read-only
A free-form string that describes the ErrorType when 1, (Other), is specified as the ErrorType. This property is inherited from CIM_Error.
- OwningEntity
-
- Data type: string
- Access type: Read-only
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. This property is inherited from CIM_Error.
- PerceivedSeverity
-
- Data type: uint16
- Access type: Read-only
An enumerated value that describes the severity of the error from the notifier's point of view: 2 - Low should be used for noncritical issues such as invalid parameters, incorrect usage, unsupported functionality. 3 - Medium should be used to indicate action is needed, but the situation is not serious at this time. 4 - High should be used to indicate action is needed now. 5 - Fatal should be used to indicate a loss of data or unrecoverable system or service failure. This property is inherited from CIM_Error.
- Unknown (0)
- Low (2)
- Medium (3)
- High (4)
- Fatal (5 )
- ProbableCause
-
- Data type: uint16
- Access type: Read-only
An enumerated value that describes the probable cause of the error. This property is inherited from CIM_Error.
- Unknown (0)
- Other (1)
- Adapter/Card Error (2)
- Application Subsystem Failure (3)
- Bandwidth Reduced (4)
- Connection Establishment Error (5)
- Communications Protocol Error (6)
- Communications Subsystem Failure (7)
- Configuration/Customization Error (8)
- Congestion (9)
- Corrupt Data (10)
- CPU Cycles Limit Exceeded (11)
- Dataset/Modem Error (12)
- Degraded Signal (13)
- DTE-DCE Interface Error (14)
- Enclosure Door Open (15)
- Equipment Malfunction (16)
- Excessive Vibration (17)
- File Format Error (18)
- Fire Detected (19)
- Flood Detected (20)
- Framing Error (21)
- HVAC Problem (22)
- Humidity Unacceptable (23)
- I/O Device Error (24)
- Input Device Error (25)
- LAN Error (26)
- Non-Toxic Leak Detected (27)
- Local Node Transmission Error (28)
- Loss of Frame (29)
- Loss of Signal (30)
- //31 Material Supply Exhausted (31)
- Multiplexer Problem (32)
- Out of Memory (33)
- Output Device Error (34)
- Performance Degraded (35)
- Power Problem (36)
- Pressure Unacceptable (37)
- Processor Problem (Internal Machine Error) (38)
- Pump Failure (39)
- Queue Size Exceeded (40)
- Receive Failure (41)
- Receiver Failure (42)
- Remote Node Transmission Error (43)
- Resource at or Nearing Capacity (44)
- Response Time Excessive (45)
- Retransmission Rate Excessive (46)
- Software Error (47)
- Software Program Abnormally Terminated (48)
- Software Program Error (Incorrect Results) (49)
- Storage Capacity Problem (50)
- Temperature Unacceptable (51)
- Threshold Crossed (52)
- Timing Problem (53)
- Toxic Leak Detected (54)
- Transmit Failure (55)
- Transmitter Failure (56)
- Underlying Resource Unavailable (57)
- Version Mismatch (58)
- Previous Alert Cleared (59)
- //60 Login Attempts Failed (60)
- Software Virus Detected (61)
- Hardware Security Breached (62)
- Denial of Service Detected (63)
- Security Credential Mismatch (64)
- Unauthorized Access (65)
- Alarm Received (66)
- Loss of Pointer (67)
- Payload Mismatch (68)
- Transmission Error (69)
- Excessive Error Rate (70)
- Trace Problem (71)
- Element Unavailable (72)
- Element Missing (73)
- Loss of Multi Frame (74)
- Broadcast Channel Failure (75)
- Invalid Message Received (76)
- Routing Failure (77)
- Backplane Failure (78)
- Identifier Duplication (79)
- Protection Path Failure (80)
- Sync Loss or Mismatch (81)
- Terminal Problem (82)
- Real Time Clock Failure (83)
- Antenna Failure (84)
- Battery Charging Failure (85)
- Disk Failure (86)
- Frequency Hopping Failure (87)
- Loss of Redundancy (88)
- Power Supply Failure (89)
- Signal Quality Problem (90)
- //91 Battery Discharging (91)
- Battery Failure (92)
- Commercial Power Problem (93)
- Fan Failure (94)
- Engine Failure (95)
- Sensor Failure (96)
- Fuse Failure (97)
- Generator Failure (98)
- Low Battery (99)
- Low Fuel (100)
- Low Water (101)
- Explosive Gas (102)
- High Winds (103)
- Ice Buildup (104)
- Smoke (105)
- Memory Mismatch (106)
- Out of CPU Cycles (107)
- Software Environment Problem (108)
- Software Download Failure (109)
- Element Reinitialized (110)
- Timeout (111)
- Logging Problems (112)
- Leak Detected (113)
- Protection Mechanism Failure (114)
- //115 Protecting Resource Failure (115)
- Database Inconsistency (116)
- Authentication Failure (117)
- Breach of Confidentiality (118)
- Cable Tamper (119)
- Delayed Information (120)
- Duplicate Information (121)
- Information Missing (122)
- Information Modification (123)
- Information Out of Sequence (124)
- Key Expired (125)
- Non-Repudiation Failure (126)
- Out of Hours Activity (127)
- Out of Service (128)
- Procedural Error (129)
- Unexpected Information (130 )
- ProbableCauseDescription
-
- Data type: string
- Access type: Read-only
A free-form string that describes the probable cause of the error. This property is inherited from CIM_Error.
- RecommendedActions
-
- Data type: string array
- Access type: Read-only
A free-form string that describes recommended actions to take to resolve the error. This property is inherited from CIM_Error.
Remarks
Access to the Msvm_Error class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.
Requirements
|
Minimum supported client | None supported |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Namespace |
\\.\Root\Virtualization |
|
MOF |
|
See also
Build date: 7/3/2012