VoipPhoneCall.HoldRequested 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.
Raised to alert the VoIP app that the call should be placed on hold.
// Register
event_token HoldRequested(TypedEventHandler<VoipPhoneCall, CallStateChangeEventArgs const&> const& handler) const;
// Revoke with event_token
void HoldRequested(event_token const* cookie) const;
// Revoke with event_revoker
VoipPhoneCall::HoldRequested_revoker HoldRequested(auto_revoke_t, TypedEventHandler<VoipPhoneCall, CallStateChangeEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipPhoneCall,CallStateChangeEventArgs> HoldRequested;
function onHoldRequested(eventArgs) { /* Your code */ }
voipPhoneCall.addEventListener("holdrequested", onHoldRequested);
voipPhoneCall.removeEventListener("holdrequested", onHoldRequested);
- or -
voipPhoneCall.onholdrequested = onHoldRequested;
Public Custom Event HoldRequested As TypedEventHandler(Of VoipPhoneCall, CallStateChangeEventArgs)
Event Type
Windows requirements
App capabilities |
phoneCallHistory
phoneCallHistorySystem
voipCall
|
Remarks
After this event is raised, the application is required to call NotifyCallHeld within 5 seconds.