SecondaryAuthenticationFactorRegistration.FinishRegisteringDeviceAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Beendet die Registrierung eines Begleitgeräts.
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:
virtual IAsyncAction ^ FinishRegisteringDeviceAsync(IBuffer ^ deviceConfigurationData) = FinishRegisteringDeviceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction FinishRegisteringDeviceAsync(IBuffer const& deviceConfigurationData);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
IAsyncAction FinishRegisteringDeviceAsync(IBuffer const& deviceConfigurationData);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction FinishRegisteringDeviceAsync(IBuffer deviceConfigurationData);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public IAsyncAction FinishRegisteringDeviceAsync(IBuffer deviceConfigurationData);
function finishRegisteringDeviceAsync(deviceConfigurationData)
Public Function FinishRegisteringDeviceAsync (deviceConfigurationData As IBuffer) As IAsyncAction
Parameter
- deviceConfigurationData
- IBuffer
Konfigurationsdaten für das Gerät. Diese Daten sind auf 4 KB begrenzt.
Gibt zurück
Diese Methode gibt keinen Wert zurück.
- Attribute