GlobalSystemMediaTransportControlsSession.TryRecordAsync 方法

定义

尝试请求会话开始录制。

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

返回

True 表示成功;否则为 False

属性

Windows 要求

应用功能
globalMediaControl

适用于