GlobalSystemMediaTransportControlsSession.TryStopAsync Méthode

Définition

Tente de demander à la session d’arrêter la lecture.

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

Retours

True indique la réussite ; False dans le cas contraire

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
globalMediaControl

S’applique à