VoipPhoneCall.RejectRequested Событие

Определение

Возникает при отклонении вызова.

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

Тип события

Требования к Windows

Возможности приложения
phoneCallHistory phoneCallHistorySystem voipCall

Комментарии

Система вызывает событие RejectRequested , чтобы сообщить приложению VoIP о том, что вызов отклонен. После возникновения этого события приложение VoIP должно вызвать NotifyCallEnded в течение 5 секунд. Дополнительные сведения см. в разделе VoipPhoneCall .

Применяется к