Compartilhar via


GlobalSystemMediaTransportControlsSession.TryPauseAsync Método

Definição

Tenta solicitar a pausa da sessão.

public:
 virtual IAsyncOperation<bool> ^ TryPauseAsync() = TryPauseAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryPauseAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryPauseAsync();
function tryPauseAsync()
Public Function TryPauseAsync () As IAsyncOperation(Of Boolean)

Retornos

True indica êxito; Caso contrário, false

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
globalMediaControl

Aplica-se a