PhoneLineWatcher.EnumerationCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the PhoneLineWatcher instance completes an enumeration of all the phone lines on the device.
// 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)
Event Type
TypedEventHandler<PhoneLineWatcher,IInspectable>
Windows requirements
App capabilities |
phoneCallHistory
phoneCallHistorySystem
|
Remarks
Phone lines can be added, removed, or updated to a device at any time. This event only indicates that an enumeration of the phone lines has been completed at a given point in time.
This event is only generated once per PhoneLineWatcher instance.