次の方法で共有


SecondaryAuthenticationFactorInfo.PresenceMonitoringMode プロパティ

定義

非推奨になりました。 コンパニオン デバイスのプレゼンス監視モード (メイン デバイスがコンパニオン デバイスの存在を確認するメカニズム) を取得します。

Note

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

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 で導入)

適用対象