Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.91 KB

barcodescannersetactivesymbologiesrequest_reportfailedasync_1617760953.md

File metadata and controls

45 lines (34 loc) · 1.91 KB
-api-id -api-type ms.custom
M:Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest.ReportFailedAsync(System.Int32,System.String)
winrt method
RS5

Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest.ReportFailedAsync

-description

Notifies the client that the request was not processed successfully.

-parameters

-param reason

An Int32 error code that will be converted to an HRESULT and raised as an exception in the calling application. The following values are supported:

NameValueDescription
E_ABORT0x80004004Operation aborted
E_ACCESSDENIED0x80070005General access denied error
E_APPLICATION_EXITING0x8000001aThe application is exiting and cannot service this request
E_BOUNDS0x8000000bThe operation attempted to access data outside the valid range
E_ILLEGAL_METHOD_CALL0x8000000eA method was called at an unexpected time
E_INVALIDARG0x80070057One or more arguments are invalid
E_FAIL0x80004005Unspecified error
E_NOTIMPL0x80004001Not implemented
E_OUTOFMEMORY0x8007000eRan out of memory

-param failedReasonDescription

A description of what caused the failure, for use in debugging.

-returns

An asynchronous operation.

-remarks

This method should be called if the provider app is unable to complete the operation.

-see-also

-examples