ClaimedPosPrinter.RetainDeviceAsync 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.
Retains the claim on the point-of-service printer asynchronously, usually in response to the ReleaseDeviceRequested event.
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 printer was successfully retained; otherwise, false.
- Attributes