EmailMailboxSyncManager.SyncStatusChanged 事件

定义

每当邮箱的同步状态更改时触发。

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

事件类型

Windows 要求

应用功能
email emailSystem

适用于