VoipPhoneCall.RejectRequested イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
重要
Windows.Phone.Networking.Voip 名前空間の型は非推奨であり、将来のバージョンの Windows では使用できない可能性があります。 代わりに、 Windows.ApplicationModel.Calls 名前空間で同等の型を使用します。
呼び出しが拒否されたときに発生します。
// 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 の要件
アプリの機能 |
ID_CAP_VOIP [Windows Phone]
|
注釈
このイベントが発生した後、アプリケーションは 5 秒以内 に NotifyCallEnded を呼び出す必要があります。