다음을 통해 공유


SecondaryAuthenticationFactorAuthentication.AuthenticationStageChanged 이벤트

정의

인증 단계가 변경되면 발생합니다.

참고

이 API는 모든 앱에서 사용할 수 없습니다. 개발자 계정이 보조AuthenticationFactor 기능을 사용하도록 Microsoft에서 특별히 프로비전되지 않는 한 이 API에 대한 호출은 실패합니다. 승인을 신청하려면 에 문의하세요 cdfonboard@microsoft.com. 기능에 대한 자세한 내용은 앱 기능 선언을 참조하세요. 도우미 디바이스 프레임워크에 대한 개요는 IoT(도우미를 사용하여 Windows 잠금 해제) 디바이스 개요를 참조하세요.

// 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) 

이벤트 유형

특성

적용 대상

추가 정보