共用方式為


SecondaryAuthenticationFactorDevicePresence 列舉

定義

已取代。 包含值,描述隨附裝置存在 (,例如穿戴式裝置) 。

注意

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

public enum class SecondaryAuthenticationFactorDevicePresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class SecondaryAuthenticationFactorDevicePresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresence is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
enum class SecondaryAuthenticationFactorDevicePresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum SecondaryAuthenticationFactorDevicePresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresence is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public enum SecondaryAuthenticationFactorDevicePresence
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresence.absent
Public Enum SecondaryAuthenticationFactorDevicePresence
繼承
SecondaryAuthenticationFactorDevicePresence
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

欄位

名稱 Description
Absent 0

系統不會偵測到裝置。

Present 1

系統偵測到裝置。

適用於