Freigeben über


SecondaryAuthenticationFactorRegistration.IsDevicePresenceMonitoringSupported Methode

Definition

Veraltet. Überprüft, ob das Standard Geräts das Vorhandensein von Begleitgeräten überwachen kann.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, um die funktion secondaryAuthenticationFactor zu verwenden, schlagen Aufrufe dieser API fehl. Wenden Sie sich an , cdfonboard@microsoft.comum die Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Companion Device Framework finden Sie in der Übersicht über Windows Unlock with Companion(IoT)-Geräte .

public:
 static bool IsDevicePresenceMonitoringSupported();
 static bool IsDevicePresenceMonitoringSupported();
/// [Windows.Foundation.Metadata.Deprecated("IsDevicePresenceMonitoringSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
 static bool IsDevicePresenceMonitoringSupported();
public static bool IsDevicePresenceMonitoringSupported();
[Windows.Foundation.Metadata.Deprecated("IsDevicePresenceMonitoringSupported 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 bool IsDevicePresenceMonitoringSupported();
function isDevicePresenceMonitoringSupported()
Public Shared Function IsDevicePresenceMonitoringSupported () As Boolean

Gibt zurück

Boolean

bool

Ein Wert von true , wenn das Gerät Begleitgeräte überwachen kann, andernfalls false.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Gilt für: