PosPrinter.ClaimPrinterAsync 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.
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.