ManagementStatus Enumeration

 

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

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

public enum ManagementStatus

Member nameDescription
AccessDenied

The current user does not have permission to perform the action.

AggregatingByObject

A GROUP BY clause references a property that is an embedded object without using dot notation.

AlreadyExists

In a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists.

AmendedObject

An amended object was used in a put operation without the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag being specified.

BackupRestoreWinmgmtRunning

An request was made to back up or restore the repository while WinMgmt.exe was using it.

BufferTooSmall

The supplied buffer was too small to hold all the objects in the enumerator or to read a string property.

CallCanceled

An 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.

CannotBeAbstract

The class was made abstract when its superclass is not abstract.

CannotBeKey

There 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.

CannotBeSingleton

An illegal attempt was made to make a class singleton, such as when the class is derived from a non-singleton class.

CannotChangeIndexInheritance

An attempt was made to change an index when instances or derived classes are already using the index.

CannotChangeKeyInheritance

An attempt was made to change a key when instances or derived classes are already using the key.

CircularReference

An attempt has been made to create a reference that is circular (for example, deriving a class from itself).

ClassHasChildren

An attempt was made to make a change that would invalidate a derived class.

ClassHasInstances

An attempt has been made to delete or modify a class that has instances.

ClientTooSlow

The client was not retrieving objects quickly enough from an enumeration.

CriticalError

An internal, critical, and unexpected error occurred. Report this error to Microsoft Technical Support.

Different

The compared items (such as objects and classes) are not identical.

DuplicateObjects

More than one copy of the same object was detected in the result set of an enumeration.

Failed

The call failed.

False

This 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.

IllegalNull

A 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.

IllegalOperation

The user requested an illegal operation, such as spawning a class from an instance.

IncompleteClass

The current object is not a valid class definition. Either it is incomplete, or it has not been registered with WMI using Put()().

InitializationFailure

A component, such as a provider, failed to initialize for internal reasons.

InvalidCimType

The CIM type specified is not valid.

InvalidClass

The specified class is not valid.

InvalidContext

The context object is not valid.

InvalidDuplicateParameter

A duplicate parameter has been declared in a CIM method.

InvalidFlavor

The specified flavor was invalid.

InvalidMethod

The requested method is not available.

InvalidMethodParameters

The parameters provided for the method are not valid.

InvalidNamespace

The specified namespace could not be found.

InvalidObject

The specified instance is not valid.

InvalidObjectPath

The specified object path was invalid.

InvalidOperation

The requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties.

InvalidOperator

The operator is not valid for this property type.

InvalidParameter

One of the parameters to the call is not correct.

InvalidParameterID

A method parameter has an invalid ID qualifier.

InvalidProperty

The property type is not recognized.

InvalidPropertyType

The CIM type specified for a property is not valid.

InvalidProviderRegistration

A provider referenced in the schema has an incorrect or incomplete registration.

InvalidQualifier

An attempt has been made to mismatch qualifiers, such as putting [ManagementKey] on an object instead of a property.

InvalidQualifierType

The value provided for a qualifier was not a legal qualifier type.

InvalidQuery

The query was not syntactically valid.

InvalidQueryType

The requested query language is not supported.

InvalidStream

One or more network packets were corrupted during a remote session.

InvalidSuperclass

The specified superclass is not valid.

InvalidSyntax

Reserved for future use.

LocalCredentials

The 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.

MarshalInvalidSignature

The packet is corrupted.

MarshalVersionMismatch

The packet has an unsupported version.

MethodDisabled

An attempt was made to execute a method marked with [disabled].

MethodNotImplemented

An attempt was made to execute a method not marked with [implemented] in any relevant class.

MissingAggregationList

A GROUP BY clause was used. Aggregation on all properties is not supported.

MissingGroupWithin

A GROUP BY clause was used without the corresponding GROUP WITHIN clause.

MissingParameterID

A parameter was missing from the method call.

NoError

The operation was successful.

NoMoreData

No more data is available from the enumeration; the user should terminate the enumeration.

NonconsecutiveParameterIDs

One or more of the method parameters have ID qualifiers that are out of sequence.

NondecoratedObject

Reserved for future use.

NotAvailable

The resource, typically a remote server, is not currently available.

NotEventClass

The FROM clause of a filtering query references a class that is not an event class.

NotFound

The object could not be found.

NotSupported

The feature or operation is not supported.

OperationCanceled

The operation was canceled.

OutOfDiskSpace

There is not enough free disk space to continue the operation.

OutOfMemory

There was not enough memory for the operation.

OverrideNotAllowed

The add operation cannot be performed on the qualifier because the owning object does not permit overrides.

ParameterIDOnRetval

The return value for a method has an ID qualifier.

PartialResults

The user did not receive all of the requested objects because of inaccessible resources (other than security violations).

Pending

A request is still in progress; however, the results are not yet available.

PrivilegeNotHeld

The operation failed because the client did not have the necessary security privilege.

PropagatedMethod

An attempt was made to reuse an existing method name from a superclass, and the signatures did not match.

PropagatedProperty

The user attempted to delete a property that was not owned. The property was inherited from a parent class.

PropagatedQualifier

The user attempted to delete a qualifier that was not owned. The qualifier was inherited from a parent class.

PropertyNotAnObject

Dot notation was used on a property that is not an embedded object.

ProviderFailure

The provider failed after initialization.

ProviderLoadFailure

COM cannot locate a provider referenced in the schema.

ProviderNotCapable

The 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.

ProviderNotFound

A provider referenced in the schema does not have a corresponding registration.

QueryNotImplemented

Reserved for future use.

QueueOverflow

The asynchronous delivery queue overflowed from the event consumer being too slow.

ReadOnly

The property that you are attempting to modify is read-only.

RefresherBusy

The refresher is busy with another operation.

RegistrationTooBroad

The provider registration overlaps with the system event domain.

RegistrationTooPrecise

A WITHIN clause was not used in this query.

ResetToDefault

An 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.

ServerTooBusy

The delivery of an event has failed. The provider may choose to re-raise the event.

ShuttingDown

The user has requested an operation while WMI is in the process of closing.

SystemProperty

There was an attempt to get qualifiers on a system property.

Timedout

A call timed out. This is not an error condition; therefore, some results may have been returned.

TooManyProperties

An attempt was made to create more properties than the current version of the class supports.

TooMuchData

Reserved for future use.

TransportFailure

A networking error that prevents normal operation has occurred.

TypeMismatch

A type mismatch occurred.

Unexpected

The client made an unexpected and illegal sequence of calls.

UninterpretableProviderQuery

An event provider registration query (__EventProviderRegistration) did not specify the classes for which events were provided.

UnknownObjectType

An object with an incorrect type or version was encountered during marshaling.

UnknownPacketType

A packet with an incorrect type or version was encountered during marshaling.

UnparsableQuery

The filtering query is syntactically invalid.

UnsupportedClassUpdate

The specified class is not supported.

UnsupportedParameter

One or more parameter values, such as a query text, is too complex or unsupported. WMI is requested to retry the operation with simpler parameters.

UnsupportedPutExtension

The provider does not support the requested put operation.

UpdateOverrideNotAllowed

An attempt was made in a derived class to override a non-overrideable qualifier.

UpdatePropagatedMethod

A method was redeclared with a conflicting signature in a derived class.

UpdateTypeMismatch

A property was redefined with a conflicting type in a derived class.

ValueOutOfRange

The request was made with an out-of-range value, or is incompatible with the type.

.NET Framework
Available since 1.1
Return to top
Show: