MagneticStripeReader.CheckHealthAsync(UnifiedPosHealthCheckLevel) 方法

定义

测试磁条读取器的运行状况。

public:
 virtual IAsyncOperation<Platform::String ^> ^ CheckHealthAsync(UnifiedPosHealthCheckLevel level) = CheckHealthAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> CheckHealthAsync(UnifiedPosHealthCheckLevel const& level);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> CheckHealthAsync(UnifiedPosHealthCheckLevel level);
function checkHealthAsync(level)
Public Function CheckHealthAsync (level As UnifiedPosHealthCheckLevel) As IAsyncOperation(Of String)

参数

level
UnifiedPosHealthCheckLevel

特定运行状况检查级别。

返回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

文本结果的文本说明。 如果设备不支持指定的检查级别,则返回错误。

属性

适用于