Share via


EmailDataProviderConnection.DeleteFolderRequested Event

Definition

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

Applies to