다음을 통해 공유


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를 호출해야 합니다.

적용 대상