PhoneLineWatcher.EnumerationCompleted 事件

定义

PhoneLineWatcher 实例完成设备上所有电话线的枚举时发生。

// Register
event_token EnumerationCompleted(TypedEventHandler<PhoneLineWatcher, IInspectable const&> const& handler) const;

// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
PhoneLineWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<PhoneLineWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<PhoneLineWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
phoneLineWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
phoneLineWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
phoneLineWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of PhoneLineWatcher, Object) 

事件类型

Windows 要求

应用功能
phoneCallHistory phoneCallHistorySystem

注解

可以随时向设备添加、删除或更新电话线路。 此事件仅指示已在给定时间点完成电话线路的枚举。

每个 PhoneLineWatcher 实例仅生成此事件一次。

适用于