共用方式為


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。

屬性

適用於