Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.74 KB

barcodescannerdisablescannerrequest_reportfailedasync_747708167.md

File metadata and controls

42 lines (32 loc) · 1.74 KB
-api-id -api-type ms.custom
M:Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest.ReportFailedAsync(System.Int32)
winrt method
RS5

Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest.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

-returns

An asynchronous operation.

-remarks

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

-see-also

-examples