共用方式為


AppointmentCalendarSyncManager.SyncStatusChanged 事件

定義

發生于 AppointmentCalendar 同步處理作業的狀態變更時。

// Register
event_token SyncStatusChanged(TypedEventHandler<AppointmentCalendarSyncManager, IInspectable const&> const& handler) const;

// Revoke with event_token
void SyncStatusChanged(event_token const* cookie) const;

// Revoke with event_revoker
AppointmentCalendarSyncManager::SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, TypedEventHandler<AppointmentCalendarSyncManager, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppointmentCalendarSyncManager,object> SyncStatusChanged;
function onSyncStatusChanged(eventArgs) { /* Your code */ }
appointmentCalendarSyncManager.addEventListener("syncstatuschanged", onSyncStatusChanged);
appointmentCalendarSyncManager.removeEventListener("syncstatuschanged", onSyncStatusChanged);
- or -
appointmentCalendarSyncManager.onsyncstatuschanged = onSyncStatusChanged;
Public Custom Event SyncStatusChanged As TypedEventHandler(Of AppointmentCalendarSyncManager, Object) 

事件類型

Windows 需求

應用程式功能
appointmentsSystem

適用於