Win32_JobObjectStatus class
The Win32_JobObjectStatus abstract WMI class reports error information obtained while attempting any failed operation in the Job Object provider.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
class Win32_JobObjectStatus : __ExtendedStatus
{
string AdditionalDescription;
string Description;
string Operation;
string ParameterInfo;
string ProviderName;
uint32 StatusCode;
uint32 Win32ErrorCode;
};
Members
The Win32_JobObjectStatus class has these types of members:
Properties
The Win32_JobObjectStatus class has these properties.
- AdditionalDescription
-
- Data type: string
- Access type: Read-only
Additional information relating to the error.
- Description
-
- Data type: string
- Access type: Read-only
Any user-defined string that describes an error or operational status. This property was inherited from __ExtendedStatus.
- Operation
-
- Data type: string
- Access type: Read-only
Operation that was taking place at the time of the failure or anomaly. WMI typically sets this property to the name of a COM API for WMI method, such as IWbemServices::CreateInstanceEnum. This property was inherited from __ExtendedStatus.
- ParameterInfo
-
- Data type: string
- Access type: Read-only
Parameters that were involved in the error or status change. For example, if an application attempted to retrieve a class that does not exist, this property would be set to the offending class name. This property was inherited from __ExtendedStatus.
- ProviderName
-
- Data type: string
- Access type: Read-only
Provider that caused or reported the error or status change. If a provider was not involved, this string is set to "Windows Management". This property was inherited from __ExtendedStatus.
- StatusCode
-
- Data type: uint32
- Access type: Read-only
Error or information code for an operation. This can be any user-defined code, but the value 0 (zero) is usually reserved to indicate success. This property was inherited from __NotifyStatus.
- Win32ErrorCode
-
- Data type: uint32
- Access type: Read-only
Windows error code most recently encountered that caused the operation to fail.
Remarks
The Win32_JobObjectStatus class is derived from __ExtendedStatus.
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 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012