AdministrationErrorCategory enum

Namespace Runic.Platform.Administration.Windows in Runic.Platform.Administration.Windows 0.23.0

public enum AdministrationErrorCategory

Classification of an operational Windows administration failure.

Remarks

This set is open: a minor release may add categories, so handle unknown values. Zero is never a real failure category; AdministrationErrorCategory.Unknown is only the default value and the package never reports it. AdministrationErrorCategory.NativeFailure is the category for native errors that no other category describes.

Values

Unknown

Unknown = 0

No category; the default value. Windows administration failures never report it.

AccessDenied

AccessDenied = 1

Windows denied access.

NotFound

NotFound = 2

The named target, such as a service, share, file, directory object, task or WMI instance, does not exist.

Unavailable

Unavailable = 3

The target machine, endpoint or service is unreachable or not running.

Remarks

A component that is not installed is AdministrationErrorCategory.NotInstalled.

Conflict

Conflict = 4

The requested operation conflicts with current state.

InvalidData

InvalidData = 5

Windows returned invalid or unsupported data.

NativeFailure

NativeFailure = 6

A native operation failed for a reason no other category describes.

NotInstalled

NotInstalled = 7

A required component is not installed or registered, such as the Group Policy Management Console (class not registered) or a WMI provider (missing namespace or class).

Remarks

Distinct from AdministrationErrorCategory.Unavailable, which means the component is installed but cannot be reached.