UnifiedPosErrorData
UnifiedPosErrorData
UnifiedPosErrorData
UnifiedPosErrorData
Class
Definition
Provides error information.
public : sealed class UnifiedPosErrorData : IUnifiedPosErrorDatapublic sealed class UnifiedPosErrorData : IUnifiedPosErrorDataPublic NotInheritable Class UnifiedPosErrorData Implements IUnifiedPosErrorData// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
This object is accessed when you retrieve the ErrorData property of the BarcodeScannerErrorOccurredEventArgs or MagneticStripeReaderErrorOccurredEventArgs object.
Properties
ExtendedReason ExtendedReason ExtendedReason ExtendedReason
Gets the vendor specific error information.
public : unsigned int ExtendedReason { get; }public uint ExtendedReason { get; }Public ReadOnly Property ExtendedReason As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The vendor specific error information.
Message Message Message Message
Gets the error message.
public : PlatForm::String Message { get; }public string Message { get; }Public ReadOnly Property Message As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The error message.
Reason Reason Reason Reason
Gets the cause of the error.
public : UnifiedPosErrorReason Reason { get; }public UnifiedPosErrorReason Reason { get; }Public ReadOnly Property Reason As UnifiedPosErrorReason// You can use this property in JavaScript.
The cause of the error.
Severity Severity Severity Severity
Gets the error severity.
public : UnifiedPosErrorSeverity Severity { get; }public UnifiedPosErrorSeverity Severity { get; }Public ReadOnly Property Severity As UnifiedPosErrorSeverity// You can use this property in JavaScript.
- Value
- UnifiedPosErrorSeverity UnifiedPosErrorSeverity UnifiedPosErrorSeverity UnifiedPosErrorSeverity
The error severity.