次の方法で共有


SecondaryAuthenticationFactorAuthentication.AbortAuthenticationAsync メソッド

定義

認証を中止します。

Note

この API は、すべてのアプリで使用できるわけではありません。 開発者アカウントが 、secondaryAuthenticationFactor 機能を使用するように Microsoft によって特別にプロビジョニングされていない限り、この API の呼び出しは失敗します。 承認を申請するには、 にお問い合わせください cdfonboard@microsoft.com。 機能の詳細については、「 アプリ機能の宣言」を参照してください。 コンパニオン デバイス フレームワークの概要については、「Windows Unlock with companion (IoT) devices overview 」を参照してください。

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

パラメーター

errorLogMessage
String

Platform::String

winrt::hstring

ログに記録するエラー メッセージ。

戻り値

このメソッドは値を返しません。

属性

適用対象

こちらもご覧ください