Dela via


EmailMailbox.MailboxChanged Event

Definition

Occurs when the mailbox has changed.

// Register
event_token MailboxChanged(TypedEventHandler<EmailMailbox, EmailMailboxChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
EmailMailbox::MailboxChanged_revoker MailboxChanged(auto_revoke_t, TypedEventHandler<EmailMailbox, EmailMailboxChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailMailbox,EmailMailboxChangedEventArgs> MailboxChanged;
function onMailboxChanged(eventArgs) { /* Your code */ }
emailMailbox.addEventListener("mailboxchanged", onMailboxChanged);
emailMailbox.removeEventListener("mailboxchanged", onMailboxChanged);
- or -
emailMailbox.onmailboxchanged = onMailboxChanged;
Public Custom Event MailboxChanged As TypedEventHandler(Of EmailMailbox, EmailMailboxChangedEventArgs) 

Event Type

Windows requirements

App capabilities
email emailSystem

Applies to