Freigeben über


ContactDataProviderConnection.CreateOrUpdateContactRequested Ereignis

Definition

Wird ausgelöst, wenn die Client-App versucht, einen Kontakt zu erstellen oder zu aktualisieren.

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

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)
App-Funktionen
contactsSystem

Gilt für: