EmailDataProviderConnection.DeleteFolderRequested 事件

定义

当电子邮件客户端请求在服务器上删除文件夹时发生。

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

事件类型

TypedEventHandler<EmailDataProviderConnection,EmailMailboxDeleteFolderRequestEventArgs>

Windows 要求

应用功能
email emailSystem

适用于