EmailDataProviderConnection.DownloadAttachmentRequested 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 to download an attachment from the server.
// 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)
Event Type
Windows requirements
App capabilities |
email
emailSystem
|