WebAccountMonitor.AccountPictureUpdated 이벤트

정의

모니터링되는 WebAccount의 그림이 변경되면 발생합니다.

// Register
event_token AccountPictureUpdated(TypedEventHandler<WebAccountMonitor, WebAccountEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
WebAccountMonitor::AccountPictureUpdated_revoker AccountPictureUpdated(auto_revoke_t, TypedEventHandler<WebAccountMonitor, WebAccountEventArgs const&> const& handler) const;
public event TypedEventHandler<WebAccountMonitor,WebAccountEventArgs> AccountPictureUpdated;
function onAccountPictureUpdated(eventArgs) { /* Your code */ }
webAccountMonitor.addEventListener("accountpictureupdated", onAccountPictureUpdated);
webAccountMonitor.removeEventListener("accountpictureupdated", onAccountPictureUpdated);
- or -
webAccountMonitor.onaccountpictureupdated = onAccountPictureUpdated;
Public Custom Event AccountPictureUpdated As TypedEventHandler(Of WebAccountMonitor, WebAccountEventArgs) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10, version 2004 (10.0.19041.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v10.0에서 도입되었습니다.)

설명

그림이 업데이트되면 WAM은 업데이트된 이벤트와 AccountPictureUpdated 이벤트를 모두 실행하여 업데이트된 이벤트를 수신 대기하여 사진 업데이트를 추적한 사용자가 회귀하지 않도록 합니다.

새 부울 속성 "IsPictureUpdated"는 AccountUpdated 이벤트만 수신 대기하는 호출자가 picuture 업데이트와 일반 계정 업데이트를 구분할 수 있도록 하는 이벤트의 페이로드에 있습니다.

적용 대상

추가 정보