Share via


UnifiedPosErrorReason Enum

Definition

Defines the constants that indicates the reason for the error event.

public enum class UnifiedPosErrorReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UnifiedPosErrorReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UnifiedPosErrorReason
var value = Windows.Devices.PointOfService.UnifiedPosErrorReason.unknownErrorReason
Public Enum UnifiedPosErrorReason
Inheritance
UnifiedPosErrorReason
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
UnknownErrorReason 0

Unknown reason.

NoService 1

Cannot communicate with the device, possibly due to a configuration error.

Disabled 2

The device is not enabled.

Illegal 3

The operation is not supported or not available on the device.

NoHardware 4

The device is not connected or not powered on.

Closed 5

The device is closed.

Offline 6

The device is offline.

Failure 7

The operation failed although the device was connected and powered on.

Timeout 8

The operation timed out while waiting for a response from the device.

Busy 9

The device is busy.

Extended 10

The operation failed and returned a vendor specific error information.

Applies to

See also