Freigeben über


UnifiedPosErrorData Klasse

Definition

Stellt Fehlerinformationen bereit.

public ref class UnifiedPosErrorData sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UnifiedPosErrorData final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.PointOfService.IUnifiedPosErrorDataFactory, 393216, "Windows.Foundation.UniversalApiContract")]
class UnifiedPosErrorData final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.PointOfService.IUnifiedPosErrorDataFactory, 393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UnifiedPosErrorData final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UnifiedPosErrorData
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.PointOfService.IUnifiedPosErrorDataFactory), 393216, "Windows.Foundation.UniversalApiContract")]
public sealed class UnifiedPosErrorData
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.PointOfService.IUnifiedPosErrorDataFactory), 393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UnifiedPosErrorData
function UnifiedPosErrorData(message, severity, reason, extendedReason)
Public NotInheritable Class UnifiedPosErrorData
Vererbung
Object Platform::Object IInspectable UnifiedPosErrorData
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Auf dieses Objekt wird zugegriffen, wenn Sie die ErrorData-Eigenschaft des BarcodeScannerErrorOccurredEventArgs - oder MagneticStripeReaderErrorOccurredEventArgs-Objekts abrufen.

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1803 17134 UnifiedPosErrorData

Konstruktoren

UnifiedPosErrorData(String, UnifiedPosErrorSeverity, UnifiedPosErrorReason, UInt32)

Erstellt eine instance für UnifiedPosErrorData.

Eigenschaften

ExtendedReason

Ruft die herstellerspezifischen Fehlerinformationen ab.

Message

Ruft die Fehlermeldung ab.

Reason

Ruft die Ursache des Fehlers ab.

Severity

Ruft den Schweregrad des Fehlers ab.

Gilt für:

Weitere Informationen