Share via


EmailMailboxSyncManager.SyncStatusChanged Event

Definition

Fires whenever a mailbox's sync status changes.

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

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

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

Event Type

Windows requirements

App capabilities
email emailSystem

Applies to