EmailDataProviderConnection.MailboxSyncRequested 事件

定义

当电子邮件客户端请求与服务器上的邮箱同步时发生。

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

事件类型

Windows 要求

应用功能
email emailSystem

适用于