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 」を参照してください。

適用対象