VoipPhoneCall.RejectRequested Événement

Définition

Déclenché lorsqu’un appel a été rejeté.

// Register
event_token RejectRequested(TypedEventHandler<VoipPhoneCall, CallRejectEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
VoipPhoneCall::RejectRequested_revoker RejectRequested(auto_revoke_t, TypedEventHandler<VoipPhoneCall, CallRejectEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipPhoneCall,CallRejectEventArgs> RejectRequested;
function onRejectRequested(eventArgs) { /* Your code */ }
voipPhoneCall.addEventListener("rejectrequested", onRejectRequested);
voipPhoneCall.removeEventListener("rejectrequested", onRejectRequested);
- or -
voipPhoneCall.onrejectrequested = onRejectRequested;
Public Custom Event RejectRequested As TypedEventHandler(Of VoipPhoneCall, CallRejectEventArgs) 

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
phoneCallHistory phoneCallHistorySystem voipCall

Remarques

Le système déclenche l’événement RejectRequested pour signaler à votre application VoIP que l’appel a été rejeté. Une fois cet événement déclenché, votre application VoIP doit appeler NotifyCallEnded dans les 5 secondes. Pour plus d’informations, consultez VoipPhoneCall .

S’applique à