UserDataTaskDataProviderConnection.SyncRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Déclenché lorsque l’application cliente tente de synchroniser tous les rendez-vous de calendrier avec le serveur.
// Register
event_token SyncRequested(TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListSyncManagerSyncRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void SyncRequested(event_token const* cookie) const;
// Revoke with event_revoker
UserDataTaskDataProviderConnection::SyncRequested_revoker SyncRequested(auto_revoke_t, TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListSyncManagerSyncRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataTaskDataProviderConnection,UserDataTaskListSyncManagerSyncRequestEventArgs> SyncRequested;
function onSyncRequested(eventArgs) { /* Your code */ }
userDataTaskDataProviderConnection.addEventListener("syncrequested", onSyncRequested);
userDataTaskDataProviderConnection.removeEventListener("syncrequested", onSyncRequested);
- or -
userDataTaskDataProviderConnection.onsyncrequested = onSyncRequested;
Public Custom Event SyncRequested As TypedEventHandler(Of UserDataTaskDataProviderConnection, UserDataTaskListSyncManagerSyncRequestEventArgs)
Type d'événement
TypedEventHandler<UserDataTaskDataProviderConnection,UserDataTaskListSyncManagerSyncRequestEventArgs>