VoipPhoneCall.HoldRequested Événement

Définition

Déclenché pour avertir l’application VoIP que l’appel doit être mis en attente.

// 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) 

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
phoneCallHistory phoneCallHistorySystem voipCall

Remarques

Une fois cet événement déclenché, l’application doit appeler NotifyCallHeld dans un délai de 5 secondes.

S’applique à