EmailMailbox.MailboxChanged 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 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
|