次の方法で共有


UserDataTaskDataProviderConnection.CompleteTaskRequested イベント

定義

クライアント アプリがタスクを完了としてマークしようとしたときに発生します。

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

イベントの種類

適用対象