Share via


ClaimedCashDrawer.EnableAsync Method

Definition

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