共用方式為


SecondaryAuthenticationFactorAuthentication.GetAuthenticationStageInfoAsync 方法

定義

取得驗證階段的資訊。

注意

此 API 不適用於所有應用程式。 除非您的開發人員帳戶由 Microsoft 特別布建,才能使用 secondaryAuthenticationFactor 功能,否則對此 API 的呼叫將會失敗。 若要申請核准,請連絡 cdfonboard@microsoft.com 。 如需功能的詳細資訊,請參閱 應用程式功能宣告。 如需隨附裝置架構的概觀,請參閱 搭配隨附裝置的 Windows 解除鎖定 (IoT) 裝置 概觀。

public:
 static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationStageInfo ^> ^ GetAuthenticationStageInfoAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationStageInfo> GetAuthenticationStageInfoAsync();
/// [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")]
 static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationStageInfo> GetAuthenticationStageInfoAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationStageInfo> GetAuthenticationStageInfoAsync();
[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 static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationStageInfo> GetAuthenticationStageInfoAsync();
function getAuthenticationStageInfoAsync()
Public Shared Function GetAuthenticationStageInfoAsync () As IAsyncOperation(Of SecondaryAuthenticationFactorAuthenticationStageInfo)

傳回

當此方法完成時,它會傳回驗證階段的資訊。

屬性

適用於

另請參閱