共用方式為


EmailDataProviderConnection.CreateFolderRequested 事件

定義

發生于電子郵件用戶端要求在伺服器上建立資料夾時。

// Register
event_token CreateFolderRequested(TypedEventHandler<EmailDataProviderConnection, EmailMailboxCreateFolderRequestEventArgs const&> const& handler) const;

// Revoke with event_token
void CreateFolderRequested(event_token const* cookie) const;

// Revoke with event_revoker
EmailDataProviderConnection::CreateFolderRequested_revoker CreateFolderRequested(auto_revoke_t, TypedEventHandler<EmailDataProviderConnection, EmailMailboxCreateFolderRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailDataProviderConnection,EmailMailboxCreateFolderRequestEventArgs> CreateFolderRequested;
function onCreateFolderRequested(eventArgs) { /* Your code */ }
emailDataProviderConnection.addEventListener("createfolderrequested", onCreateFolderRequested);
emailDataProviderConnection.removeEventListener("createfolderrequested", onCreateFolderRequested);
- or -
emailDataProviderConnection.oncreatefolderrequested = onCreateFolderRequested;
Public Custom Event CreateFolderRequested As TypedEventHandler(Of EmailDataProviderConnection, EmailMailboxCreateFolderRequestEventArgs) 

事件類型

Windows 需求

應用程式功能
email emailSystem

適用於