Share via


ClaimedCashDrawer.RetainDeviceAsync Method

Definition

Retain the current claim on the cash drawer. This is usually called in response to a ReleaseDeviceRequested event notification.

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

Returns

True if the retain attempt succeeded; false if the retain attempt failed.

Attributes

Applies to