共用方式為


PhoneLine.GetAllActivePhoneCallsAsync 方法

定義

以異步方式擷取通話結果物件,您可以從中擷取作用中的通話。

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

傳回

異步操作物件,其完成時會包含 PhoneCallsResult 物件,您可以從中擷取作用中的通話。

屬性

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (已於 v6.0 引進)
應用程式功能
phoneCall

適用於