共用方式為


SecondaryAuthenticationFactorInfo.PresenceMonitoringMode 屬性

定義

已取代。 取得隨附裝置的目前狀態監視模式, (主要裝置檢查隨附裝置) 是否存在的機制。

注意

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

public:
 property SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode { SecondaryAuthenticationFactorDevicePresenceMonitoringMode get(); };
SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode();
/// [get: Windows.Foundation.Metadata.Deprecated("PresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode();
public SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode { get; }
public SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode { [Windows.Foundation.Metadata.Deprecated("PresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")] get; }
var secondaryAuthenticationFactorDevicePresenceMonitoringMode = secondaryAuthenticationFactorInfo.presenceMonitoringMode;
Public ReadOnly Property PresenceMonitoringMode As SecondaryAuthenticationFactorDevicePresenceMonitoringMode

屬性值

描述監視模式的 SecondaryAuthenticationFactorDevicePresenceMonitoringMode 值。

屬性

Windows 需求

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

適用於