UserDataTaskDataProviderConnection.DeleteTaskRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Déclenché lorsque l’application cliente tente de supprimer une tâche.
// Register
event_token DeleteTaskRequested(TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListDeleteTaskRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void DeleteTaskRequested(event_token const* cookie) const;
// Revoke with event_revoker
UserDataTaskDataProviderConnection::DeleteTaskRequested_revoker DeleteTaskRequested(auto_revoke_t, TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListDeleteTaskRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataTaskDataProviderConnection,UserDataTaskListDeleteTaskRequestEventArgs> DeleteTaskRequested;
function onDeleteTaskRequested(eventArgs) { /* Your code */ }
userDataTaskDataProviderConnection.addEventListener("deletetaskrequested", onDeleteTaskRequested);
userDataTaskDataProviderConnection.removeEventListener("deletetaskrequested", onDeleteTaskRequested);
- or -
userDataTaskDataProviderConnection.ondeletetaskrequested = onDeleteTaskRequested;
Public Custom Event DeleteTaskRequested As TypedEventHandler(Of UserDataTaskDataProviderConnection, UserDataTaskListDeleteTaskRequestEventArgs)