Share via


EmailDataProviderConnection.MailboxSyncRequested Event

Definition

Occurs when the email client has requested to sync with the mailbox on the server.

// Register
event_token MailboxSyncRequested(TypedEventHandler<EmailDataProviderConnection, EmailMailboxSyncManagerSyncRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
EmailDataProviderConnection::MailboxSyncRequested_revoker MailboxSyncRequested(auto_revoke_t, TypedEventHandler<EmailDataProviderConnection, EmailMailboxSyncManagerSyncRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailDataProviderConnection,EmailMailboxSyncManagerSyncRequestEventArgs> MailboxSyncRequested;
function onMailboxSyncRequested(eventArgs) { /* Your code */ }
emailDataProviderConnection.addEventListener("mailboxsyncrequested", onMailboxSyncRequested);
emailDataProviderConnection.removeEventListener("mailboxsyncrequested", onMailboxSyncRequested);
- or -
emailDataProviderConnection.onmailboxsyncrequested = onMailboxSyncRequested;
Public Custom Event MailboxSyncRequested As TypedEventHandler(Of EmailDataProviderConnection, EmailMailboxSyncManagerSyncRequestEventArgs) 

Event Type

Windows requirements

App capabilities
email emailSystem

Applies to