SecondaryAuthenticationFactorRegistration.AbortRegisteringDeviceAsync Methode

Definition

Bricht die Registrierung des Begleitgeräts ab.

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 ^ AbortRegisteringDeviceAsync(Platform::String ^ errorLogMessage) = AbortRegisteringDeviceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction AbortRegisteringDeviceAsync(winrt::hstring const& errorLogMessage);
/// [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 AbortRegisteringDeviceAsync(winrt::hstring const& errorLogMessage);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction AbortRegisteringDeviceAsync(string errorLogMessage);
[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 AbortRegisteringDeviceAsync(string errorLogMessage);
function abortRegisteringDeviceAsync(errorLogMessage)
Public Function AbortRegisteringDeviceAsync (errorLogMessage As String) As IAsyncAction

Parameter

errorLogMessage
String

Platform::String

winrt::hstring

Eine zu protokollierende Fehlermeldung.

Gibt zurück

Diese Methode gibt keinen Wert zurück.

Attribute

Gilt für:

Weitere Informationen