Share via


GlobalSystemMediaTransportControlsSession.TryPauseAsync Method

Definition

Attempts to request the session to pause.

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)

Returns

True indicates success; False otherwise

Attributes

Windows requirements

App capabilities
globalMediaControl

Applies to