Compartilhar via


ClaimedPosPrinter.RetainDeviceAsync Método

Definição

Retém a declaração na impressora de ponto de serviço de forma assíncrona, geralmente em resposta ao evento ReleaseDeviceRequested .

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)

Retornos

True se a impressora foi retida com êxito; caso contrário, false.

Atributos

Aplica-se a

Confira também