Share via


PosPrinter.ClaimPrinterAsync Method

Definition

Claims the point-of-service printer for use, and gets an instance of the ClaimedPosPrinter class for the point-of-service printer.

public:
 virtual IAsyncOperation<ClaimedPosPrinter ^> ^ ClaimPrinterAsync() = ClaimPrinterAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ClaimedPosPrinter> ClaimPrinterAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ClaimedPosPrinter> ClaimPrinterAsync();
function claimPrinterAsync()
Public Function ClaimPrinterAsync () As IAsyncOperation(Of ClaimedPosPrinter)

Returns

The claimed point-of-service printer.

Attributes

Remarks

The claim is cooperatively managed, so multiple concurrent apps can negotiate which app owns the claim.

Applies to