Freigeben über


SecondaryAuthenticationFactorAuthentication.AbortAuthenticationAsync Methode

Definition

Bricht eine Authentifizierung ab.

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:
 virtual IAsyncAction ^ AbortAuthenticationAsync(Platform::String ^ errorLogMessage) = AbortAuthenticationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction AbortAuthenticationAsync(winrt::hstring const& errorLogMessage);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
IAsyncAction AbortAuthenticationAsync(winrt::hstring const& errorLogMessage);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction AbortAuthenticationAsync(string errorLogMessage);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication 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 AbortAuthenticationAsync(string errorLogMessage);
function abortAuthenticationAsync(errorLogMessage)
Public Function AbortAuthenticationAsync (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