Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NativeErrorCode Enumeration

 

Specifies error codes defined by the native MI client API.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

public enum NativeErrorCode

Member nameDescription
AccessDenied

Access to a CIM resource is not available to the client. Reasons for this might be not having enough permissions to access the requested resources while carrying out the operation, or calling APIs with inconsistent identities. An example of the latter would be creating a session with one identity while trying to carry out an operation on the same session with a different identity.

AlreadyExists

The operation cannot be invoked because an object already exists.

ClassHasChildren

The operation cannot be invoked because the class has subclasses.

ClassHasInstances

The operation cannot be invoked because the class has instances.

ContinuationOnErrorNotSupported

The CIM server does not support continuation on error.

Failed

A general error occurred, not covered by a more specific error code.

FilteredEnumerationNotSupported

Using a filter in the enumeration is not supported by the CIM server.

InvalidClass

The specified class does not exist.

InvalidEnumerationContext

The enumeration identified by the specified context is not valid.

InvalidNamespace

The target namespace does not exist.

InvalidOperationTimeout

The specified operation time-out is not supported by the CIM server.

InvalidParameter

One or more parameter values passed to the method are not valid.

InvalidQuery

The query is not valid for the specified query language.

InvalidSuperClass

The operation cannot be invoked because the superclass does not exist.

MethodNotAvailable

The extrinsic method cannot be invoked.

MethodNotFound

The specified extrinsic method does not exist.

NamespaceNotEmpty

The specified namespace is not empty.

NoSuchProperty

The specified property does not exist.

NotFound

The requested object cannot be found.

NotSupported

The requested operation is not supported.

Ok

The operation was successful.

PullCannotBeAbandoned

The attempt to abandon a concurrent pull operation failed.

PullHasBeenAbandoned

The pull operation has been abandoned.

QueryLanguageNotSupported

The query language is not recognized or supported.

ServerIsShuttingDown

The CIM server is shutting down and cannot process the operation.

ServerLimitsExceeded

The operation failed because server limits were exceeded.

TypeMismatch

The value supplied is not compatible with the type.

Return to top
Show: