다음을 통해 공유


SecondaryAuthenticationFactorRegistration.UnregisterDevicePresenceMonitoringAsync 메서드

정의

더 이상 사용되지 않습니다. 현재 상태 모니터링에서 도우미 디바이스의 등록을 취소합니다.

참고

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

public:
 static IAsyncAction ^ UnregisterDevicePresenceMonitoringAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction UnregisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("UnregisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
 static IAsyncAction UnregisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction UnregisterDevicePresenceMonitoringAsync(string deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("UnregisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public static IAsyncAction UnregisterDevicePresenceMonitoringAsync(string deviceId);
function unregisterDevicePresenceMonitoringAsync(deviceId)
Public Shared Function UnregisterDevicePresenceMonitoringAsync (deviceId As String) As IAsyncAction

매개 변수

deviceId
String

Platform::String

winrt::hstring

디바이스의 고유 식별자입니다.

반환

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

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)

적용 대상