Share via


ContactDataProviderConnection.ServerSearchReadBatchRequested Event

Definition

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

// Register
event_token ServerSearchReadBatchRequested(TypedEventHandler<ContactDataProviderConnection, ContactListServerSearchReadBatchRequestEventArgs const&> const& handler) const;

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

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

Event Type

Windows requirements

App capabilities
contactsSystem

Applies to