Partager via


UserDataTaskDataProviderConnection.CreateOrUpdateTaskRequested Événement

Définition

Déclenché lorsque l’application cliente tente de créer ou de mettre à jour une tâche.

// Register
event_token CreateOrUpdateTaskRequested(TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListCreateOrUpdateTaskRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
UserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested_revoker CreateOrUpdateTaskRequested(auto_revoke_t, TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListCreateOrUpdateTaskRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataTaskDataProviderConnection,UserDataTaskListCreateOrUpdateTaskRequestEventArgs> CreateOrUpdateTaskRequested;
function onCreateOrUpdateTaskRequested(eventArgs) { /* Your code */ }
userDataTaskDataProviderConnection.addEventListener("createorupdatetaskrequested", onCreateOrUpdateTaskRequested);
userDataTaskDataProviderConnection.removeEventListener("createorupdatetaskrequested", onCreateOrUpdateTaskRequested);
- or -
userDataTaskDataProviderConnection.oncreateorupdatetaskrequested = onCreateOrUpdateTaskRequested;
Public Custom Event CreateOrUpdateTaskRequested As TypedEventHandler(Of UserDataTaskDataProviderConnection, UserDataTaskListCreateOrUpdateTaskRequestEventArgs) 

Type d'événement

S’applique à