ManagementStatus Enumeration

Describes the enumeration of all WMI error codes that are currently defined.

Namespace: System.Management
Assembly: System.Management (in

public enum ManagementStatus
public enum ManagementStatus
public enum ManagementStatus

 Member nameDescription
AccessDeniedThe current user does not have permission to perform the action.  
AggregatingByObjectA GROUP BY clause references a property that is an embedded object without using dot notation.  
AlreadyExistsIn a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists. 
AmendedObjectAn amended object was used in a put operation without the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag being specified.  
BackupRestoreWinmgmtRunningAn request was made to back up or restore the repository while WinMgmt.exe was using it.  
BufferTooSmallThe supplied buffer was too small to hold all the objects in the enumerator or to read a string property.  
CallCanceledAn asynchronous process has been canceled internally or by the user. Note that because of the timing and nature of the asynchronous operation, the operation may not have been truly canceled.  
CannotBeAbstractThe class was made abstract when its superclass is not abstract.  
CannotBeKeyThere was an illegal attempt to specify a key qualifier on a property that cannot be a key. The keys are specified in the class definition for an object and cannot be altered on a per-instance basis. 
CannotBeSingletonAn illegal attempt was made to make a class singleton, such as when the class is derived from a non-singleton class. 
CannotChangeIndexInheritanceAn attempt was made to change an index when instances or derived classes are already using the index.  
CannotChangeKeyInheritanceAn attempt was made to change a key when instances or derived classes are already using the key.  
CircularReferenceAn attempt has been made to create a reference that is circular (for example, deriving a class from itself).  
ClassHasChildrenAn attempt was made to make a change that would invalidate a derived class. 
ClassHasInstancesAn attempt has been made to delete or modify a class that has instances.  
ClientTooSlowThe client was not retrieving objects quickly enough from an enumeration.  
CriticalErrorAn internal, critical, and unexpected error occurred. Report this error to Microsoft Technical Support. 
DifferentThe compared items (such as objects and classes) are not identical. 
DuplicateObjectsMore than one copy of the same object was detected in the result set of an enumeration.  
FailedThe call failed. 
FalseThis value is returned when no more objects are available, the number of objects returned is less than the number requested, or at the end of an enumeration. It is also returned when the method is called with a value of 0 for the parameter. 
IllegalNullA value of null was specified for a property that may not be null, such as one that is marked by a Key, Indexed, or Not_Null qualifier. 
IllegalOperationThe user requested an illegal operation, such as spawning a class from an instance. 
IncompleteClassThe current object is not a valid class definition. Either it is incomplete, or it has not been registered with WMI using Put(). 
InitializationFailureA component, such as a provider, failed to initialize for internal reasons.  
InvalidCimTypeThe CIM type specified is not valid.  
InvalidClassThe specified class is not valid.  
InvalidContextThe context object is not valid. 
InvalidDuplicateParameterA duplicate parameter has been declared in a CIM method.  
InvalidFlavorThe specified flavor was invalid.  
InvalidMethodThe requested method is not available.  
InvalidMethodParametersThe parameters provided for the method are not valid.  
InvalidNamespaceThe specified namespace could not be found.  
InvalidObjectThe specified instance is not valid.  
InvalidObjectPathThe specified object path was invalid.  
InvalidOperationThe requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties.  
InvalidOperatorThe operator is not valid for this property type. 
InvalidParameterOne of the parameters to the call is not correct.  
InvalidParameterIDA method parameter has an invalid ID qualifier.  
InvalidPropertyThe property type is not recognized.  
InvalidPropertyTypeThe CIM type specified for a property is not valid.  
InvalidProviderRegistrationA provider referenced in the schema has an incorrect or incomplete registration.  
InvalidQualifierAn attempt has been made to mismatch qualifiers, such as putting [key] on an object instead of a property.  
InvalidQualifierTypeThe value provided for a qualifier was not a legal qualifier type. 
InvalidQueryThe query was not syntactically valid.  
InvalidQueryTypeThe requested query language is not supported. 
InvalidStreamOne or more network packets were corrupted during a remote session. 
InvalidSuperclassThe specified superclass is not valid.  
InvalidSyntaxReserved for future use.  
LocalCredentialsThe user specified a user name, password, or authority on a local connection. The user must use an empty user name and password and rely on default security.  
MarshalInvalidSignatureThe packet is corrupted. 
MarshalVersionMismatchThe packet has an unsupported version.  
MethodDisabledAn attempt was made to execute a method marked with [disabled].  
MethodNotImplementedAn attempt was made to execute a method not marked with [implemented] in any relevant class.  
MissingAggregationListA GROUP BY clause was used. Aggregation on all properties is not supported.  
MissingGroupWithinA GROUP BY clause was used without the corresponding GROUP WITHIN clause.  
MissingParameterIDA parameter was missing from the method call.  
NoErrorThe operation was successful.  
NoMoreDataNo more data is available from the enumeration; the user should terminate the enumeration.  
NonconsecutiveParameterIDsOne or more of the method parameters have ID qualifiers that are out of sequence.  
NondecoratedObjectReserved for future use.  
NotAvailableThe resource, typically a remote server, is not currently available.  
NotEventClassThe FROM clause of a filtering query references a class that is not an event class.  
NotFoundThe object could not be found.  
NotSupportedThe feature or operation is not supported.  
OperationCanceledThe operation was canceled. 
OutOfDiskSpaceThere is not enough free disk space to continue the operation.  
OutOfMemoryThere was not enough memory for the operation.  
OverrideNotAllowedThe add operation cannot be performed on the qualifier because the owning object does not permit overrides. 
ParameterIDOnRetvalThe return value for a method has an ID qualifier.  
PartialResultsThe user did not receive all of the requested objects because of inaccessible resources (other than security violations). 
PendingA request is still in progress; however, the results are not yet available. 
PrivilegeNotHeldThe operation failed because the client did not have the necessary security privilege.  
PropagatedMethodAn attempt was made to reuse an existing method name from a superclass, and the signatures did not match.  
PropagatedPropertyThe user attempted to delete a property that was not owned. The property was inherited from a parent class.  
PropagatedQualifierThe user attempted to delete a qualifier that was not owned. The qualifier was inherited from a parent class.  
PropertyNotAnObjectDot notation was used on a property that is not an embedded object.  
ProviderFailureThe provider failed after initialization.  
ProviderLoadFailureCOM cannot locate a provider referenced in the schema.  
ProviderNotCapableThe provider cannot perform the requested operation, such as requesting a query that is too complex, retrieving an instance, creating or updating a class, deleting a class, or enumerating a class.  
ProviderNotFoundA provider referenced in the schema does not have a corresponding registration.  
QueryNotImplementedReserved for future use.  
QueueOverflowThe asynchronous delivery queue overflowed from the event consumer being too slow.  
ReadOnlyThe property that you are attempting to modify is read-only. 
RefresherBusyThe refresher is busy with another operation.  
RegistrationTooBroadThe provider registration overlaps with the system event domain.  
RegistrationTooPreciseA WITHIN clause was not used in this query.  
ResetToDefaultAn overridden property was deleted. This value is returned to signal that the original, non-overridden value has been restored as a result of the deletion. 
ServerTooBusyThe delivery of an event has failed. The provider may choose to re-raise the event. 
ShuttingDownThe user has requested an operation while WMI is in the process of closing. 
SystemPropertyThere was an attempt to get qualifiers on a system property.  
TimedoutA call timed out. This is not an error condition; therefore, some results may have been returned. 
TooManyPropertiesAn attempt was made to create more properties than the current version of the class supports.  
TooMuchDataReserved for future use.  
TransportFailure A networking error that prevents normal operation has occurred.  
TypeMismatchA type mismatch occurred.  
UnexpectedThe client made an unexpected and illegal sequence of calls.  
UninterpretableProviderQueryAn event provider registration query (__EventProviderRegistration) did not specify the classes for which events were provided.  
UnknownObjectTypeAn object with an incorrect type or version was encountered during marshaling.  
UnknownPacketTypeA packet with an incorrect type or version was encountered during marshaling.  
UnparsableQueryThe filtering query is syntactically invalid.  
UnsupportedClassUpdateThe specified class is not supported.  
UnsupportedParameterOne or more parameter values, such as a query text, is too complex or unsupported. WMI is requested to retry the operation with simpler parameters.  
UnsupportedPutExtensionThe provider does not support the requested put operation.  
UpdateOverrideNotAllowedAn attempt was made in a derived class to override a non-overrideable qualifier.  
UpdatePropagatedMethodA method was redeclared with a conflicting signature in a derived class.  
UpdateTypeMismatchA property was redefined with a conflicting type in a derived class.  
ValueOutOfRangeThe request was made with an out-of-range value, or is incompatible with the type.  

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions