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

適用於