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.