Compartir a través de


ContactDataProviderConnection.CreateOrUpdateContactRequested Evento

Definición

Se genera cuando la aplicación cliente intenta crear o actualizar un contacto.

// Register
event_token CreateOrUpdateContactRequested(TypedEventHandler<ContactDataProviderConnection, ContactListCreateOrUpdateContactRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ContactDataProviderConnection::CreateOrUpdateContactRequested_revoker CreateOrUpdateContactRequested(auto_revoke_t, TypedEventHandler<ContactDataProviderConnection, ContactListCreateOrUpdateContactRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactDataProviderConnection,ContactListCreateOrUpdateContactRequestEventArgs> CreateOrUpdateContactRequested;
function onCreateOrUpdateContactRequested(eventArgs) { /* Your code */ }
contactDataProviderConnection.addEventListener("createorupdatecontactrequested", onCreateOrUpdateContactRequested);
contactDataProviderConnection.removeEventListener("createorupdatecontactrequested", onCreateOrUpdateContactRequested);
- or -
contactDataProviderConnection.oncreateorupdatecontactrequested = onCreateOrUpdateContactRequested;
Public Custom Event CreateOrUpdateContactRequested As TypedEventHandler(Of ContactDataProviderConnection, ContactListCreateOrUpdateContactRequestEventArgs) 

Tipo de evento

Requisitos de Windows

Familia de dispositivos
Windows 10 Fall Creators Update (se introdujo en la versión 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v5.0)
Características de aplicaciones
contactsSystem

Se aplica a