Compartilhar via


UnifiedPosErrorData Classe

Definição

Fornece informações de erro.

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
Herança
Object Platform::Object IInspectable UnifiedPosErrorData
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Comentários

Esse objeto é acessado quando você recupera a propriedade ErrorData do objeto BarcodeScannerErrorOccurredEventArgs ou MagneticStripeReaderErrorOccurredEventArgs .

Histórico de versão

Versão do Windows Versão do SDK Valor adicionado
1803 17134 UnifiedPosErrorData

Construtores

UnifiedPosErrorData(String, UnifiedPosErrorSeverity, UnifiedPosErrorReason, UInt32)

Cria uma instância para UnifiedPosErrorData.

Propriedades

ExtendedReason

Obtém as informações de erro específicas do fornecedor.

Message

Obtém a mensagem de erro.

Reason

Obtém a causa do erro.

Severity

Obtém a gravidade do erro.

Aplica-se a

Confira também