共用方式為


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

適用於