AppointmentDataProviderConnection.SyncRequested 事件

定义

当用户选择将所有日历约会与服务器同步时引发。

// 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) 

事件类型

Windows 要求

应用功能
appointmentsSystem

适用于