Partager via


UserDataTaskDataProviderConnection.CompleteTaskRequested Événement

Définition

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) 

Type d'événement

S’applique à