ContactDataProviderConnection.SyncRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the contact data client has requested to sync a contact list with the server..
// 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)
Event Type
Windows requirements
App capabilities |
contactsSystem
|