CallControl.DialRequested 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 a number is dialed from the device.
public:
virtual event DialRequestedEventHandler ^ DialRequested;
// Register
event_token DialRequested(DialRequestedEventHandler const& handler) const;
// Revoke with event_token
void DialRequested(event_token const* cookie) const;
// Revoke with event_revoker
CallControl::DialRequested_revoker DialRequested(auto_revoke_t, DialRequestedEventHandler const& handler) const;
public event DialRequestedEventHandler DialRequested;
function onDialRequested(eventArgs) { /* Your code */ }
callControl.addEventListener("dialrequested", onDialRequested);
callControl.removeEventListener("dialrequested", onDialRequested);
- or -
callControl.ondialrequested = onDialRequested;
Public Custom Event DialRequested As DialRequestedEventHandler
Event Type
Remarks
This class provides access to events that can be monitored and used for modifying the behavior of your telephony-aware app. The following JavaScript code snippet shows how to add event listeners to the CallControl class, and then to respond to one of the events, DialRequested.