EmailDataProviderConnection.DownloadAttachmentRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque le client de messagerie a demandé à télécharger une pièce jointe à partir du serveur.
// Register
event_token DownloadAttachmentRequested(TypedEventHandler<EmailDataProviderConnection, EmailMailboxDownloadAttachmentRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void DownloadAttachmentRequested(event_token const* cookie) const;
// Revoke with event_revoker
EmailDataProviderConnection::DownloadAttachmentRequested_revoker DownloadAttachmentRequested(auto_revoke_t, TypedEventHandler<EmailDataProviderConnection, EmailMailboxDownloadAttachmentRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailDataProviderConnection,EmailMailboxDownloadAttachmentRequestEventArgs> DownloadAttachmentRequested;
function onDownloadAttachmentRequested(eventArgs) { /* Your code */ }
emailDataProviderConnection.addEventListener("downloadattachmentrequested", onDownloadAttachmentRequested);
emailDataProviderConnection.removeEventListener("downloadattachmentrequested", onDownloadAttachmentRequested);
- or -
emailDataProviderConnection.ondownloadattachmentrequested = onDownloadAttachmentRequested;
Public Custom Event DownloadAttachmentRequested As TypedEventHandler(Of EmailDataProviderConnection, EmailMailboxDownloadAttachmentRequestEventArgs)
Type d'événement
Configuration requise pour Windows
Fonctionnalités de l’application |
email
emailSystem
|