Share via


EmailDataProviderConnection.CreateFolderRequested Event

Definition

Occurs when the email client has requested that a folder be created on the server.

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

Event Type

Windows requirements

App capabilities
email emailSystem

Applies to