ClaimedCashDrawer.RetainDeviceAsync 方法

定义

保留收银机的当前索赔。 这通常是为了响应 ReleaseDeviceRequested 事件通知而调用的。

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)

返回

如果保留尝试成功,则为 True;如果保留尝试失败,则为 false。

属性

适用于