Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This enumeration defines error categories for the CIM extensions.
Syntax
typedef enum _MI_ErrorCategory {
MI_ERRORCATEGORY_NOT_SPECIFIED = 0,
MI_ERRORCATEGORY_OPEN_ERROR = 1,
MI_ERRORCATEGORY_CLOS_EERROR = 2,
MI_ERRORCATEGORY_DEVICE_ERROR = 3,
MI_ERRORCATEGORY_DEADLOCK_DETECTED = 4,
MI_ERRORCATEGORY_INVALID_ARGUMENT = 5,
MI_ERRORCATEGORY_INVALID_DATA = 6,
MI_ERRORCATEGORY_INVALID_OPERATION = 7,
MI_ERRORCATEGORY_INVALID_RESULT = 8,
MI_ERRORCATEGORY_INVALID_TYPE = 9,
MI_ERRORCATEGORY_METADATA_ERROR = 10,
MI_ERRORCATEGORY_NOT_IMPLEMENTED = 11,
MI_ERRORCATEGORY_NOT_INSTALLED = 12,
MI_ERRORCATEGORY_OBJECT_NOT_FOUND = 13,
MI_ERRORCATEGORY_OPERATION_STOPPED = 14,
MI_ERRORCATEGORY_OPERATION_TIMEOUT = 15,
MI_ERRORCATEGORY_SYNTAX_ERROR = 16,
MI_ERRORCATEGORY_PARSER_ERROR = 17,
MI_ERRORCATEGORY_ACCESS_DENIED = 18,
MI_ERRORCATEGORY_RESOURCE_BUSY = 19,
MI_ERRORCATEGORY_RESOURCE_EXISTS = 20,
MI_ERRORCATEGORY_RESOURCE_UNAVAILABLE = 21,
MI_ERRORCATEGORY_READ_ERROR = 22,
MI_ERRORCATEGORY_WRITE_ERROR = 23,
MI_ERRORCATEGORY_FROM_STDERR = 24,
MI_ERRORCATEGORY_SECURITY_ERROR = 25,
MI_ERRORCATEGORY_PROTOCOL_ERROR = 26,
MI_ERRORCATEGORY_CONNECTION_ERROR = 27,
MI_ERRORCATEGORY_AUTHENTICATION_ERROR = 28,
MI_ERRORCATEGORY_LIMITS_EXCEEDED = 29,
MI_ERRORCATEGORY_QUOTA_EXCEEDED = 30,
MI_ERRORCATEGORY_NOT_ENABLED = 31
} MI_ErrorCategory;
Constants
MI_ERRORCATEGORY_NOT_SPECIFIEDValue: 0 Use only when not enough is known about the error to assign it to another error category. Avoid using this category if you have any information about the error, even if that information is incomplete. |
MI_ERRORCATEGORY_OPEN_ERRORValue: 1 An error that occurs when opening. |
MI_ERRORCATEGORY_CLOS_EERRORValue: 2 An error that occurs when closing. |
MI_ERRORCATEGORY_DEVICE_ERRORValue: 3 An error that occurs when a device reports an error. |
MI_ERRORCATEGORY_DEADLOCK_DETECTEDValue: 4 An error that occurs when a deadlock is detected. |
MI_ERRORCATEGORY_INVALID_ARGUMENTValue: 5 An error that occurs when an argument that is not valid is specified. |
MI_ERRORCATEGORY_INVALID_DATAValue: 6 An error that occurs when data that is not valid is specified. |
MI_ERRORCATEGORY_INVALID_OPERATIONValue: 7 An error that occurs when an operation that is not valid is requested. |
MI_ERRORCATEGORY_INVALID_RESULTValue: 8 An error that occurs when a result that is not valid is returned. |
MI_ERRORCATEGORY_INVALID_TYPEValue: 9 An error that occurs when a .NET Framework type that is not valid is specified. |
MI_ERRORCATEGORY_METADATA_ERRORValue: 10 An error that occurs when metadata contains an error. |
MI_ERRORCATEGORY_NOT_IMPLEMENTEDValue: 11 An error that occurs when a referenced application programming interface (API) is not implemented. |
MI_ERRORCATEGORY_NOT_INSTALLEDValue: 12 An error that occurs when an item is not installed. |
MI_ERRORCATEGORY_OBJECT_NOT_FOUNDValue: 13 An error that occurs when an object cannot be found. |
MI_ERRORCATEGORY_OPERATION_STOPPEDValue: 14 An error that occurs when an operation has stopped. For example, the user interrupts the operation. |
MI_ERRORCATEGORY_OPERATION_TIMEOUTValue: 15 An error that occurs when an operation has exceeded its timeout limit. |
MI_ERRORCATEGORY_SYNTAX_ERRORValue: 16 An error that occurs when a command is syntactically incorrect. |
MI_ERRORCATEGORY_PARSER_ERRORValue: 17 An error that occurs when a parser encounters an error. |
MI_ERRORCATEGORY_ACCESS_DENIEDValue: 18 An error that occurs when an operation is not permitted. |
MI_ERRORCATEGORY_RESOURCE_BUSYValue: 19 An error that occurs when a resource already exists. |
MI_ERRORCATEGORY_RESOURCE_EXISTSValue: 20 An error that occurs when a resource is busy. |
MI_ERRORCATEGORY_RESOURCE_UNAVAILABLEValue: 21 An error that occurs when a resource is unavailable. |
MI_ERRORCATEGORY_READ_ERRORValue: 22 An error that occurs when reading. |
MI_ERRORCATEGORY_WRITE_ERRORValue: 23 |
MI_ERRORCATEGORY_FROM_STDERRValue: 24 |
MI_ERRORCATEGORY_SECURITY_ERRORValue: 25 An error that occurs when a security violation occurs. |
MI_ERRORCATEGORY_PROTOCOL_ERRORValue: 26 |
MI_ERRORCATEGORY_CONNECTION_ERRORValue: 27 |
MI_ERRORCATEGORY_AUTHENTICATION_ERRORValue: 28 |
MI_ERRORCATEGORY_LIMITS_EXCEEDEDValue: 29 |
MI_ERRORCATEGORY_QUOTA_EXCEEDEDValue: 30 |
MI_ERRORCATEGORY_NOT_ENABLEDValue: 31 |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 |
| Minimum supported server | Windows Server 2012 |
| Header | mi.h |
| Redistributable | Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |