Share via


EmailDataProviderConnection.ServerSearchReadBatchRequested Event

Definition

Occurs when the email client has requested a batch of server-side search results.

// Register
event_token ServerSearchReadBatchRequested(TypedEventHandler<EmailDataProviderConnection, EmailMailboxServerSearchReadBatchRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
EmailDataProviderConnection::ServerSearchReadBatchRequested_revoker ServerSearchReadBatchRequested(auto_revoke_t, TypedEventHandler<EmailDataProviderConnection, EmailMailboxServerSearchReadBatchRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<EmailDataProviderConnection,EmailMailboxServerSearchReadBatchRequestEventArgs> ServerSearchReadBatchRequested;
function onServerSearchReadBatchRequested(eventArgs) { /* Your code */ }
emailDataProviderConnection.addEventListener("serversearchreadbatchrequested", onServerSearchReadBatchRequested);
emailDataProviderConnection.removeEventListener("serversearchreadbatchrequested", onServerSearchReadBatchRequested);
- or -
emailDataProviderConnection.onserversearchreadbatchrequested = onServerSearchReadBatchRequested;
Public Custom Event ServerSearchReadBatchRequested As TypedEventHandler(Of EmailDataProviderConnection, EmailMailboxServerSearchReadBatchRequestEventArgs) 

Event Type

Windows requirements

App capabilities
email emailSystem

Applies to