WebAccountMonitor.DefaultSignInAccountChanged 이벤트
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
기본 로그인 계정이 변경되면 발생합니다.
// Register
event_token DefaultSignInAccountChanged(TypedEventHandler<WebAccountMonitor, IInspectable const&> const& handler) const;
// Revoke with event_token
void DefaultSignInAccountChanged(event_token const* cookie) const;
// Revoke with event_revoker
WebAccountMonitor::DefaultSignInAccountChanged_revoker DefaultSignInAccountChanged(auto_revoke_t, TypedEventHandler<WebAccountMonitor, IInspectable const&> const& handler) const;
public event TypedEventHandler<WebAccountMonitor,object> DefaultSignInAccountChanged;
function onDefaultSignInAccountChanged(eventArgs) { /* Your code */ }
webAccountMonitor.addEventListener("defaultsigninaccountchanged", onDefaultSignInAccountChanged);
webAccountMonitor.removeEventListener("defaultsigninaccountchanged", onDefaultSignInAccountChanged);
- or -
webAccountMonitor.ondefaultsigninaccountchanged = onDefaultSignInAccountChanged;
Public Custom Event DefaultSignInAccountChanged As TypedEventHandler(Of WebAccountMonitor, Object)
이벤트 유형
TypedEventHandler<WebAccountMonitor,IInspectable>