UnifiedPosErrorData Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Fornisce informazioni sull'errore.
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
- Ereditarietà
- Attributi
Requisiti Windows
Famiglia di dispositivi |
Windows 10 (è stato introdotto in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)
|
Commenti
Questo oggetto è accessibile quando si recupera la proprietà ErrorData dell'oggetto BarcodeScannerErrorOccurredEventArgs o MagneticStripeReaderErrorOccurredEventArgs .
Cronologia delle versioni
Versione di Windows | Versione dell'SDK | Valore aggiunto |
---|---|---|
1803 | 17134 | UnifiedPosErrorData |
Costruttori
UnifiedPosErrorData(String, UnifiedPosErrorSeverity, UnifiedPosErrorReason, UInt32) |
Crea un'istanza di UnifiedPosErrorData. |
Proprietà
ExtendedReason |
Ottiene le informazioni sull'errore specifiche del fornitore. |
Message |
Ottiene il messaggio di errore. |
Reason |
Ottiene la causa dell'errore. |
Severity |
Ottiene la gravità dell'errore. |