UserDataTaskDataProviderConnection.CompleteTaskRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)