UserDataTaskDataProviderConnection.CompleteTaskRequested É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 marquer une tâche comme terminée.
// Register
event_token CompleteTaskRequested(TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListCompleteTaskRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void CompleteTaskRequested(event_token const* cookie) const;
// Revoke with event_revoker
UserDataTaskDataProviderConnection::CompleteTaskRequested_revoker CompleteTaskRequested(auto_revoke_t, TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListCompleteTaskRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataTaskDataProviderConnection,UserDataTaskListCompleteTaskRequestEventArgs> CompleteTaskRequested;
function onCompleteTaskRequested(eventArgs) { /* Your code */ }
userDataTaskDataProviderConnection.addEventListener("completetaskrequested", onCompleteTaskRequested);
userDataTaskDataProviderConnection.removeEventListener("completetaskrequested", onCompleteTaskRequested);
- or -
userDataTaskDataProviderConnection.oncompletetaskrequested = onCompleteTaskRequested;
Public Custom Event CompleteTaskRequested As TypedEventHandler(Of UserDataTaskDataProviderConnection, UserDataTaskListCompleteTaskRequestEventArgs)