다음을 통해 공유


ContactDataProviderConnection.SyncRequested 이벤트

정의

연락처 데이터 클라이언트가 연락처 목록을 서버와 동기화하도록 요청한 경우에 발생합니다.

// Register
event_token SyncRequested(TypedEventHandler<ContactDataProviderConnection, ContactListSyncManagerSyncRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ContactDataProviderConnection::SyncRequested_revoker SyncRequested(auto_revoke_t, TypedEventHandler<ContactDataProviderConnection, ContactListSyncManagerSyncRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactDataProviderConnection,ContactListSyncManagerSyncRequestEventArgs> SyncRequested;
function onSyncRequested(eventArgs) { /* Your code */ }
contactDataProviderConnection.addEventListener("syncrequested", onSyncRequested);
contactDataProviderConnection.removeEventListener("syncrequested", onSyncRequested);
- or -
contactDataProviderConnection.onsyncrequested = onSyncRequested;
Public Custom Event SyncRequested As TypedEventHandler(Of ContactDataProviderConnection, ContactListSyncManagerSyncRequestEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
contactsSystem

적용 대상