Compartilhar via


SecondaryAuthenticationFactorAuthentication.AuthenticationStageChanged Evento

Definição

É acionado quando o estágio de autenticação é alterado.

Observação

Essa API não está disponível para todos os aplicativos. A menos que sua conta de desenvolvedor seja provisionada especialmente pela Microsoft para usar a funcionalidade secondaryAuthenticationFactor , as chamadas para essa API falharão. Para solicitar aprovação, entre em contato com cdfonboard@microsoft.com. Para obter mais informações sobre recursos, consulte Declarações de funcionalidade do aplicativo. Para obter uma visão geral da Estrutura de Dispositivo Complementar, consulte a visão geral do Windows Unlock com dispositivos complementares (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) 

Tipo de evento

Atributos

Aplica-se a

Confira também