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