Share via


GlobalSystemMediaTransportControlsSession.TryStopAsync Method

Definition

Attempts to request the session to stop playback.

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)

Returns

True indicates success; False otherwise

Attributes

Windows requirements

App capabilities
globalMediaControl

Applies to