UserWatcher.AuthenticationStatusChanging Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fires when a user's authentication status is about to change.
// 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)
Event Type
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor