다음을 통해 공유


SecondaryAuthenticationFactorAuthentication.ShowNotificationMessageAsync 메서드

정의

잠금 화면 위 또는 도우미 디바이스 로그인 옵션 타일 내의 메시지를 표시합니다.

참고

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

public:
 static IAsyncAction ^ ShowNotificationMessageAsync(Platform::String ^ deviceName, SecondaryAuthenticationFactorAuthenticationMessage message);
 static IAsyncAction ShowNotificationMessageAsync(winrt::hstring const& deviceName, SecondaryAuthenticationFactorAuthenticationMessage const& message);
/// [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")]
 static IAsyncAction ShowNotificationMessageAsync(winrt::hstring const& deviceName, SecondaryAuthenticationFactorAuthenticationMessage const& message);
public static IAsyncAction ShowNotificationMessageAsync(string deviceName, SecondaryAuthenticationFactorAuthenticationMessage message);
[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 IAsyncAction ShowNotificationMessageAsync(string deviceName, SecondaryAuthenticationFactorAuthenticationMessage message);
function showNotificationMessageAsync(deviceName, message)
Public Shared Function ShowNotificationMessageAsync (deviceName As String, message As SecondaryAuthenticationFactorAuthenticationMessage) As IAsyncAction

매개 변수

deviceName
String

Platform::String

winrt::hstring

알림 메시지의 일부로 표시할 디바이스의 이름입니다(메시지 매개 변수를 사용하여 설정).

message
SecondaryAuthenticationFactorAuthenticationMessage

표시할 메시지입니다.

반환

이 메서드는 값을 반환하지 않습니다.

특성

적용 대상

추가 정보