Partilhar via


UserWatcher.AuthenticationStatusChanging Evento

Definição

É acionado quando o status de autenticação de um usuário está prestes a ser alterado.

// Register
event_token AuthenticationStatusChanging(TypedEventHandler<UserWatcher, UserAuthenticationStatusChangingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
UserWatcher::AuthenticationStatusChanging_revoker AuthenticationStatusChanging(auto_revoke_t, TypedEventHandler<UserWatcher, UserAuthenticationStatusChangingEventArgs const&> const& handler) const;
public event TypedEventHandler<UserWatcher,UserAuthenticationStatusChangingEventArgs> AuthenticationStatusChanging;
function onAuthenticationStatusChanging(eventArgs) { /* Your code */ }
userWatcher.addEventListener("authenticationstatuschanging", onAuthenticationStatusChanging);
userWatcher.removeEventListener("authenticationstatuschanging", onAuthenticationStatusChanging);
- or -
userWatcher.onauthenticationstatuschanging = onAuthenticationStatusChanging;
Public Custom Event AuthenticationStatusChanging As TypedEventHandler(Of UserWatcher, UserAuthenticationStatusChangingEventArgs) 

Tipo de evento

Aplica-se a