Share via


AccountsSettingsPane.AccountCommandsRequested 이벤트

정의

사용자가 계정 창을 열 때 발생합니다. 이 이벤트를 처리하면 앱이 계정 명령을 초기화하고 사용자가 창을 닫을 때까지 UI를 일시 중지할 수 있습니다.

// Register
event_token AccountCommandsRequested(TypedEventHandler<AccountsSettingsPane, AccountsSettingsPaneCommandsRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AccountsSettingsPane::AccountCommandsRequested_revoker AccountCommandsRequested(auto_revoke_t, TypedEventHandler<AccountsSettingsPane, AccountsSettingsPaneCommandsRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<AccountsSettingsPane,AccountsSettingsPaneCommandsRequestedEventArgs> AccountCommandsRequested;
function onAccountCommandsRequested(eventArgs) { /* Your code */ }
accountsSettingsPane.addEventListener("accountcommandsrequested", onAccountCommandsRequested);
accountsSettingsPane.removeEventListener("accountcommandsrequested", onAccountCommandsRequested);
- or -
accountsSettingsPane.onaccountcommandsrequested = onAccountCommandsRequested;
Public Custom Event AccountCommandsRequested As TypedEventHandler(Of AccountsSettingsPane, AccountsSettingsPaneCommandsRequestedEventArgs) 

이벤트 유형

설명

앱이 이 이벤트를 처리할 때 제공된 AccountsSettingsPaneCommandsRequestedEventArgsSettingsCommand 개체, CredentialCommand 개체 및 WebAccountCommand 개체로 채워 AccountsSettingsPaneUI에서 사용할 수 있도록 합니다.

창을 수정하는 동안 오류가 발생하면 Show 에 대한 호출이 자동으로 실패하고 창이 표시되지 않습니다.

적용 대상