SecondaryAuthenticationFactorAuthentication.AuthenticationStageChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se déclenche lorsque la phase d’authentification change.
Notes
Cette API n’est pas disponible pour toutes les applications. Sauf si votre compte de développeur est spécialement configuré par Microsoft pour utiliser la fonctionnalité secondaryAuthenticationFactor , les appels à cette API échouent. Pour demander une approbation, contactez cdfonboard@microsoft.com. Pour plus d’informations sur les fonctionnalités, consultez Déclarations de fonctionnalités d’application. Pour obtenir une vue d’ensemble de l’infrastructure d’appareils complémentaires, consultez la vue d’ensemble du déverrouillage Windows avec les appareils d’accompagnement (IoT).
// Register
static event_token AuthenticationStageChanged(EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
// Revoke with event_token
static void AuthenticationStageChanged(event_token const* cookie) const;
// Revoke with event_revoker
static SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged_revoker AuthenticationStageChanged(auto_revoke_t, EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
// Register
static event_token AuthenticationStageChanged(EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
// Revoke with event_token
static void AuthenticationStageChanged(event_token const* cookie) const;
// Revoke with event_revoker
static SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged_revoker AuthenticationStageChanged(auto_revoke_t, EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
public static event System.EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> AuthenticationStageChanged;
[add: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public static event System.EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> AuthenticationStageChanged;
function onAuthenticationStageChanged(eventArgs) { /* Your code */ }
Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication.addEventListener("authenticationstagechanged", onAuthenticationStageChanged);
Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication.removeEventListener("authenticationstagechanged", onAuthenticationStageChanged);
- or -
Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication.onauthenticationstagechanged = onAuthenticationStageChanged;
Public Shared Custom Event AuthenticationStageChanged As EventHandler(Of SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs)
Type d'événement
EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs>
EventHandler<SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs>
- Attributs