Share via


UserDataTaskDataProviderConnection.CompleteTaskRequested Event

Definition

Raised when the client app attempts to mark a task as completed.

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

Event Type

Applies to