SecondaryAuthenticationFactorInfo.UpdateDevicePresenceAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
더 이상 사용되지 않습니다. 디바이스에 현재 상태를 수동으로 할당합니다.
참고
이 API는 모든 앱에서 사용할 수 없습니다. 개발자 계정이 secondaryAuthenticationFactor 기능을 사용하도록 Microsoft에서 특별히 프로비전하지 않는 한 이 API에 대한 호출은 실패합니다. 승인을 신청하려면 에 문의하세요 cdfonboard@microsoft.com. 기능에 대한 자세한 내용은 앱 기능 선언을 참조하세요. 도우미 디바이스 프레임워크에 대한 개요는 IoT(도우미를 사용하여 Windows 잠금 해제) 디바이스 개요를 참조하세요.
public:
virtual IAsyncAction ^ UpdateDevicePresenceAsync(SecondaryAuthenticationFactorDevicePresence presenceState) = UpdateDevicePresenceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction UpdateDevicePresenceAsync(SecondaryAuthenticationFactorDevicePresence const& presenceState);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("UpdateDevicePresenceAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
IAsyncAction UpdateDevicePresenceAsync(SecondaryAuthenticationFactorDevicePresence const& presenceState);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction UpdateDevicePresenceAsync(SecondaryAuthenticationFactorDevicePresence presenceState);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("UpdateDevicePresenceAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public IAsyncAction UpdateDevicePresenceAsync(SecondaryAuthenticationFactorDevicePresence presenceState);
function updateDevicePresenceAsync(presenceState)
Public Function UpdateDevicePresenceAsync (presenceState As SecondaryAuthenticationFactorDevicePresence) As IAsyncAction
매개 변수
- presenceState
- SecondaryAuthenticationFactorDevicePresence
디바이스의 현재 상태를 나타내는 SecondaryAuthenticationFactorDevicePresence 값입니다.
반환
작업에 대한 비동기 작업입니다.
- 특성
Windows 요구 사항
디바이스 패밀리 |
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
|
API contract |
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)
|
설명
이 메서드는 도우미 디바이스의 모니터링 모드가 SecondaryAuthenticationFactorDevicePresenceMonitoringMode.AppManaged로 설정된 경우에만 사용해야 합니다. 이 경우 인증에 도우미 디바이스를 사용하는 앱은 타사 앱의 현재 상태 모니터링 기능을 통합하고 결과에 따라 SecondaryAuthenticationFactorDevicePresence 값을 수동으로 할당해야 합니다.