EmailDataProviderConnection.MailboxSyncRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|