Share via


ClaimedCashDrawer.DisableAsync Method

Definition

Notifies the underlying hardware to power off.

public:
 virtual IAsyncOperation<bool> ^ DisableAsync() = DisableAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> DisableAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> DisableAsync();
function disableAsync()
Public Function DisableAsync () As IAsyncOperation(Of Boolean)

Returns

Whether the attempt to disable 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 disable succeeded or not.

Applies to