ClaimedCashDrawer.EnableAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously notifies the underlying hardware to power on for use.
public:
virtual IAsyncOperation<bool> ^ EnableAsync() = EnableAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> EnableAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> EnableAsync();
function enableAsync()
Public Function EnableAsync () As IAsyncOperation(Of Boolean)
Returns
Whether the attempt to enable succeeded or not.
- Attributes
Remarks
This behaves identically to the existing POS peripheral API with the exception that this API returns an instance of IAsyncOperation<boolean> instead of IAsyncAction, so the caller does not need to catch exceptions to determine whether the attempt to enable succeeded or not.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for