BarcodeScannerProviderConnection.ReportErrorAsync 方法

定义

重载

ReportErrorAsync(UnifiedPosErrorData)

将错误报告发送到客户端应用。

ReportErrorAsync(UnifiedPosErrorData, Boolean, BarcodeScannerReport)

将错误报告发送到客户端应用。

ReportErrorAsync(UnifiedPosErrorData)

将错误报告发送到客户端应用。

public:
 virtual IAsyncAction ^ ReportErrorAsync(UnifiedPosErrorData ^ errorData) = ReportErrorAsync;
/// [Windows.Foundation.Metadata.Overload("ReportErrorAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ReportErrorAsync(UnifiedPosErrorData const& errorData);
[Windows.Foundation.Metadata.Overload("ReportErrorAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ReportErrorAsync(UnifiedPosErrorData errorData);
function reportErrorAsync(errorData)
Public Function ReportErrorAsync (errorData As UnifiedPosErrorData) As IAsyncAction

参数

errorData
UnifiedPosErrorData

错误信息。

返回

异步操作。

属性

适用于

ReportErrorAsync(UnifiedPosErrorData, Boolean, BarcodeScannerReport)

将错误报告发送到客户端应用。

public:
 virtual IAsyncAction ^ ReportErrorAsync(UnifiedPosErrorData ^ errorData, bool isRetriable, BarcodeScannerReport ^ scanReport) = ReportErrorAsync;
/// [Windows.Foundation.Metadata.Overload("ReportErrorAsyncWithScanReport")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ReportErrorAsync(UnifiedPosErrorData const& errorData, bool const& isRetriable, BarcodeScannerReport const& scanReport);
[Windows.Foundation.Metadata.Overload("ReportErrorAsyncWithScanReport")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ReportErrorAsync(UnifiedPosErrorData errorData, bool isRetriable, BarcodeScannerReport scanReport);
function reportErrorAsync(errorData, isRetriable, scanReport)
Public Function ReportErrorAsync (errorData As UnifiedPosErrorData, isRetriable As Boolean, scanReport As BarcodeScannerReport) As IAsyncAction

参数

errorData
UnifiedPosErrorData

错误信息。

isRetriable
Boolean

bool

指示是否可以重试操作。

scanReport
BarcodeScannerReport

已成功读取的扫描数据。

返回

属性

适用于