Share via


UserDataTaskDataProviderConnection.CreateOrUpdateTaskRequested Event

Definition

Raised when the client app attempts to create or update a task.

// Register
event_token CreateOrUpdateTaskRequested(TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListCreateOrUpdateTaskRequestEventArgs const&> const& handler) const;

// Revoke with event_token
void CreateOrUpdateTaskRequested(event_token const* cookie) const;

// Revoke with event_revoker
UserDataTaskDataProviderConnection::CreateOrUpdateTaskRequested_revoker CreateOrUpdateTaskRequested(auto_revoke_t, TypedEventHandler<UserDataTaskDataProviderConnection, UserDataTaskListCreateOrUpdateTaskRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataTaskDataProviderConnection,UserDataTaskListCreateOrUpdateTaskRequestEventArgs> CreateOrUpdateTaskRequested;
function onCreateOrUpdateTaskRequested(eventArgs) { /* Your code */ }
userDataTaskDataProviderConnection.addEventListener("createorupdatetaskrequested", onCreateOrUpdateTaskRequested);
userDataTaskDataProviderConnection.removeEventListener("createorupdatetaskrequested", onCreateOrUpdateTaskRequested);
- or -
userDataTaskDataProviderConnection.oncreateorupdatetaskrequested = onCreateOrUpdateTaskRequested;
Public Custom Event CreateOrUpdateTaskRequested As TypedEventHandler(Of UserDataTaskDataProviderConnection, UserDataTaskListCreateOrUpdateTaskRequestEventArgs) 

Event Type

Applies to