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 应用程序必须在 5 秒内调用 NotifyCallEnded 。 有关详细信息 ,请参阅 VoipPhoneCall

适用于