AudioPlaybackConnection.OpenAsync 方法

定义

异步尝试连接基础设备。 如果成功,这将导致在本地设备上听到远程设备上播放的任何音频。

public:
 virtual IAsyncOperation<AudioPlaybackConnectionOpenResult ^> ^ OpenAsync() = OpenAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AudioPlaybackConnectionOpenResult> OpenAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AudioPlaybackConnectionOpenResult> OpenAsync();
function openAsync()
Public Function OpenAsync () As IAsyncOperation(Of AudioPlaybackConnectionOpenResult)

返回

完成后, 返回 AudioPlaybackConnectionOpenResult 对象。 此对象的 Status 属性指示连接尝试的结果。

属性

适用于