MagneticStripeReaderErrorOccurredEventArgs 类

定义

提供 ErrorOccurred 事件的错误信息。

public ref class MagneticStripeReaderErrorOccurredEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MagneticStripeReaderErrorOccurredEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MagneticStripeReaderErrorOccurredEventArgs
Public NotInheritable Class MagneticStripeReaderErrorOccurredEventArgs
继承
Object Platform::Object IInspectable MagneticStripeReaderErrorOccurredEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

此对象由 ErrorOccurred 事件创建,并作为参数返回到 TypedEventHandler 委托。

属性

ErrorData

获取错误信息,例如错误原因、严重性、错误消息和任何可用的供应商特定错误信息。

PartialInputData

获取没有错误的跟踪的跟踪数据。

Track1Status

获取跟踪 1 错误信息。

Track2Status

获取跟踪 2 错误信息。

Track3Status

获取跟踪 3 错误信息。

Track4Status

获取跟踪 4 错误信息。

适用于

另请参阅