Partager via


EmailDataProviderConnection.DeleteFolderRequested Événement

Définition

Se produit lorsque le client de messagerie a demandé la suppression d’un dossier sur le serveur.

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

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
email emailSystem

S’applique à