Share via


ClaimedPosPrinter.RetainDeviceAsync Method

Definition

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

Applies to

See also