Share via


EmailDataProviderConnection.MoveFolderRequested Event

Definition

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

// Register
event_token MoveFolderRequested(TypedEventHandler<EmailDataProviderConnection, EmailMailboxMoveFolderRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
EmailDataProviderConnection::MoveFolderRequested_revoker MoveFolderRequested(auto_revoke_t, TypedEventHandler<EmailDataProviderConnection, EmailMailboxMoveFolderRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailDataProviderConnection,EmailMailboxMoveFolderRequestEventArgs> MoveFolderRequested;
function onMoveFolderRequested(eventArgs) { /* Your code */ }
emailDataProviderConnection.addEventListener("movefolderrequested", onMoveFolderRequested);
emailDataProviderConnection.removeEventListener("movefolderrequested", onMoveFolderRequested);
- or -
emailDataProviderConnection.onmovefolderrequested = onMoveFolderRequested;
Public Custom Event MoveFolderRequested As TypedEventHandler(Of EmailDataProviderConnection, EmailMailboxMoveFolderRequestEventArgs) 

Event Type

Windows requirements

App capabilities
email emailSystem

Applies to