다음을 통해 공유


ContactDataProviderConnection.DeleteContactRequested 이벤트

정의

클라이언트 앱이 연락처를 삭제하려고 할 때 발생합니다.

// Register
event_token DeleteContactRequested(TypedEventHandler<ContactDataProviderConnection, ContactListDeleteContactRequestEventArgs const&> const& handler) const;

// Revoke with event_token
void DeleteContactRequested(event_token const* cookie) const;

// Revoke with event_revoker
ContactDataProviderConnection::DeleteContactRequested_revoker DeleteContactRequested(auto_revoke_t, TypedEventHandler<ContactDataProviderConnection, ContactListDeleteContactRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactDataProviderConnection,ContactListDeleteContactRequestEventArgs> DeleteContactRequested;
function onDeleteContactRequested(eventArgs) { /* Your code */ }
contactDataProviderConnection.addEventListener("deletecontactrequested", onDeleteContactRequested);
contactDataProviderConnection.removeEventListener("deletecontactrequested", onDeleteContactRequested);
- or -
contactDataProviderConnection.ondeletecontactrequested = onDeleteContactRequested;
Public Custom Event DeleteContactRequested As TypedEventHandler(Of ContactDataProviderConnection, ContactListDeleteContactRequestEventArgs) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)
앱 기능
contactsSystem

적용 대상