AppointmentDataProviderConnection.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.
Raised when the user elects to sync all calendar appointments with the server.
// Register
event_token SyncRequested(TypedEventHandler<AppointmentDataProviderConnection, AppointmentCalendarSyncManagerSyncRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void SyncRequested(event_token const* cookie) const;
// Revoke with event_revoker
AppointmentDataProviderConnection::SyncRequested_revoker SyncRequested(auto_revoke_t, TypedEventHandler<AppointmentDataProviderConnection, AppointmentCalendarSyncManagerSyncRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<AppointmentDataProviderConnection,AppointmentCalendarSyncManagerSyncRequestEventArgs> SyncRequested;
function onSyncRequested(eventArgs) { /* Your code */ }
appointmentDataProviderConnection.addEventListener("syncrequested", onSyncRequested);
appointmentDataProviderConnection.removeEventListener("syncrequested", onSyncRequested);
- or -
appointmentDataProviderConnection.onsyncrequested = onSyncRequested;
Public Custom Event SyncRequested As TypedEventHandler(Of AppointmentDataProviderConnection, AppointmentCalendarSyncManagerSyncRequestEventArgs)
Event Type
TypedEventHandler<AppointmentDataProviderConnection,AppointmentCalendarSyncManagerSyncRequestEventArgs>
Windows requirements
App capabilities |
appointmentsSystem
|