EmailDataProviderConnection.DeleteFolderRequested 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 that a folder be deleted on the server.
// Register
event_token DeleteFolderRequested(TypedEventHandler<EmailDataProviderConnection, EmailMailboxDeleteFolderRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void DeleteFolderRequested(event_token const* cookie) const;
// Revoke with event_revoker
EmailDataProviderConnection::DeleteFolderRequested_revoker DeleteFolderRequested(auto_revoke_t, TypedEventHandler<EmailDataProviderConnection, EmailMailboxDeleteFolderRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailDataProviderConnection,EmailMailboxDeleteFolderRequestEventArgs> DeleteFolderRequested;
function onDeleteFolderRequested(eventArgs) { /* Your code */ }
emailDataProviderConnection.addEventListener("deletefolderrequested", onDeleteFolderRequested);
emailDataProviderConnection.removeEventListener("deletefolderrequested", onDeleteFolderRequested);
- or -
emailDataProviderConnection.ondeletefolderrequested = onDeleteFolderRequested;
Public Custom Event DeleteFolderRequested As TypedEventHandler(Of EmailDataProviderConnection, EmailMailboxDeleteFolderRequestEventArgs)
Event Type
Windows requirements
App capabilities |
email
emailSystem
|