ClaimedCashDrawer.DisableAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.