SecondaryAuthenticationFactorRegistration.RegisterDevicePresenceMonitoringAsync Methode

Definition

Überlädt

Name Beschreibung
RegisterDevicePresenceMonitoringAsync(String, String, SecondaryAuthenticationFactorDevicePresenceMonitoringMode)

Veraltet. Registriert ein Begleitgerät für die Anwesenheitsüberwachung durch das Standard Gerät.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft für die Verwendung der funktion secondaryAuthenticationFactor bereitgestellt wurde, schlagen Aufrufe dieser API fehl. Wenden Sie sich an cdfonboard@microsoft.com, um eine Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Begleitgeräteframework finden Sie unter Windows Unlock with companion devices (IoT)-Geräte –Übersicht.

RegisterDevicePresenceMonitoringAsync(String, String, SecondaryAuthenticationFactorDevicePresenceMonitoringMode, String, String, IBuffer)

Veraltet. Registriert ein Begleitgerät für die Anwesenheitsüberwachung durch das Standard Gerät. Enthält zusätzliche Informationen zum Begleitgerät.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft für die Verwendung der funktion secondaryAuthenticationFactor bereitgestellt wurde, schlagen Aufrufe dieser API fehl. Wenden Sie sich an cdfonboard@microsoft.com, um eine Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Begleitgeräteframework finden Sie unter Windows Unlock with companion devices (IoT)-Geräte –Übersicht.

RegisterDevicePresenceMonitoringAsync(String, String, SecondaryAuthenticationFactorDevicePresenceMonitoringMode)

Veraltet. Registriert ein Begleitgerät für die Anwesenheitsüberwachung durch das Standard Gerät.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft für die Verwendung der funktion secondaryAuthenticationFactor bereitgestellt wurde, schlagen Aufrufe dieser API fehl. Wenden Sie sich an cdfonboard@microsoft.com, um eine Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Begleitgeräteframework finden Sie unter Windows Unlock with companion devices (IoT)-Geräte –Übersicht.

public:
 static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> ^ RegisterDevicePresenceMonitoringAsync(Platform::String ^ deviceId, Platform::String ^ deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode);
/// [Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId, winrt::hstring const& deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode);
/// [Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("RegisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId, winrt::hstring const& deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode);
[Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(string deviceId, string deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode);
[Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("RegisterDevicePresenceMonitoringAsync 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 IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(string deviceId, string deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode);
function registerDevicePresenceMonitoringAsync(deviceId, deviceInstancePath, monitoringMode)
Public Shared Function RegisterDevicePresenceMonitoringAsync (deviceId As String, deviceInstancePath As String, monitoringMode As SecondaryAuthenticationFactorDevicePresenceMonitoringMode) As IAsyncOperation(Of SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus)

Parameter

deviceId
String

Platform::String

winrt::hstring

Der eindeutige Bezeichner für das Begleitgerät.

deviceInstancePath
String

Platform::String

winrt::hstring

Das Gerät instance Pfadzeichenfolge.

Gibt zurück

Ein asynchroner Vorgang mit dem status der Registrierung.

Attribute

Windows-Anforderungen

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

Hinweise

Ein Begleitgerät muss für die sekundäre Authentifizierung registriert werden, bevor es optional für die Überwachung der Gerätepräsenz registriert wird.

Gilt für:

RegisterDevicePresenceMonitoringAsync(String, String, SecondaryAuthenticationFactorDevicePresenceMonitoringMode, String, String, IBuffer)

Veraltet. Registriert ein Begleitgerät für die Anwesenheitsüberwachung durch das Standard Gerät. Enthält zusätzliche Informationen zum Begleitgerät.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft für die Verwendung der funktion secondaryAuthenticationFactor bereitgestellt wurde, schlagen Aufrufe dieser API fehl. Wenden Sie sich an cdfonboard@microsoft.com, um eine Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Begleitgeräteframework finden Sie unter Windows Unlock with companion devices (IoT)-Geräte –Übersicht.

public:
 static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> ^ RegisterDevicePresenceMonitoringAsync(Platform::String ^ deviceId, Platform::String ^ deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode, Platform::String ^ deviceFriendlyName, Platform::String ^ deviceModelNumber, IBuffer ^ deviceConfigurationData);
/// [Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringWithNewDeviceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId, winrt::hstring const& deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, winrt::hstring const& deviceFriendlyName, winrt::hstring const& deviceModelNumber, IBuffer const& deviceConfigurationData);
/// [Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringWithNewDeviceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("RegisterDevicePresenceMonitoringWithNewDeviceAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId, winrt::hstring const& deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode, winrt::hstring const& deviceFriendlyName, winrt::hstring const& deviceModelNumber, IBuffer const& deviceConfigurationData);
[Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringWithNewDeviceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(string deviceId, string deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode, string deviceFriendlyName, string deviceModelNumber, IBuffer deviceConfigurationData);
[Windows.Foundation.Metadata.Overload("RegisterDevicePresenceMonitoringWithNewDeviceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("RegisterDevicePresenceMonitoringWithNewDeviceAsync 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 IAsyncOperation<SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus> RegisterDevicePresenceMonitoringAsync(string deviceId, string deviceInstancePath, SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode, string deviceFriendlyName, string deviceModelNumber, IBuffer deviceConfigurationData);
function registerDevicePresenceMonitoringAsync(deviceId, deviceInstancePath, monitoringMode, deviceFriendlyName, deviceModelNumber, deviceConfigurationData)
Public Shared Function RegisterDevicePresenceMonitoringAsync (deviceId As String, deviceInstancePath As String, monitoringMode As SecondaryAuthenticationFactorDevicePresenceMonitoringMode, deviceFriendlyName As String, deviceModelNumber As String, deviceConfigurationData As IBuffer) As IAsyncOperation(Of SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus)

Parameter

deviceId
String

Platform::String

winrt::hstring

Der eindeutige Bezeichner für das Begleitgerät.

deviceInstancePath
String

Platform::String

winrt::hstring

Das Gerät instance Pfadzeichenfolge.

deviceFriendlyName
String

Platform::String

winrt::hstring

Der Anzeigename des Geräts.

deviceModelNumber
String

Platform::String

winrt::hstring

Die Modellnummer des Geräts.

deviceConfigurationData
IBuffer

Die Gerätekonfigurationsdaten. Diese Daten sind auf 4 KB begrenzt.

Gibt zurück

Ein asynchroner Vorgang mit dem status der Registrierung.

Attribute

Windows-Anforderungen

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

Hinweise

Ein Begleitgerät muss für die sekundäre Authentifizierung registriert werden, bevor es optional für die Überwachung der Gerätepräsenz registriert wird.

Gilt für: