GlobalSystemMediaTransportControlsSession.TryPauseAsync 方法

定义

尝试请求会话暂停。

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)

返回

True 表示成功;否则为 False

属性

Windows 要求

应用功能
globalMediaControl

适用于