次の方法で共有


VoipPhoneCall.RejectRequested イベント

定義

重要

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 を呼び出す必要があります。

適用対象