UnifiedPosErrorData Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menyediakan informasi kesalahan.
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
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
|
Keterangan
Objek ini diakses ketika Anda mengambil properti ErrorData dari objek BarcodeScannerErrorOccurredEventArgs atau MagneticStripeReaderErrorOccurredEventArgs .
Riwayat versi
Versi Windows | Versi SDK | Nilai ditambahkan |
---|---|---|
1803 | 17134 | UnifiedPosErrorData |
Konstruktor
UnifiedPosErrorData(String, UnifiedPosErrorSeverity, UnifiedPosErrorReason, UInt32) |
Membuat instans untuk UnifiedPosErrorData. |
Properti
ExtendedReason |
Mendapatkan informasi kesalahan khusus vendor. |
Message |
Mendapatkan pesan kesalahan. |
Reason |
Mendapatkan penyebab kesalahan. |
Severity |
Mendapatkan tingkat keparahan kesalahan. |