GlobalSystemMediaTransportControlsSession.TryStopAsync 方法

定义

尝试请求会话停止播放。

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)

返回

True 表示成功;否则为 False

属性

Windows 要求

应用功能
globalMediaControl

适用于