SecondaryAuthenticationFactorRegistration.UnregisterDevicePresenceMonitoringAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Action déconseillée. Annule l’inscription d’un appareil complémentaire de la surveillance de présence.
Notes
Cette API n’est pas disponible pour toutes les applications. Sauf si votre compte de développeur est spécialement configuré par Microsoft pour utiliser la fonctionnalité secondaryAuthenticationFactor , les appels à cette API échouent. Pour demander une approbation, contactez cdfonboard@microsoft.com. Pour plus d’informations sur les fonctionnalités, consultez Déclarations de fonctionnalités d’application. Pour obtenir une vue d’ensemble de l’infrastructure d’appareil complémentaire, consultez la vue d’ensemble du déverrouillage Windows avec des appareils complémentaires (IoT).
public:
static IAsyncAction ^ UnregisterDevicePresenceMonitoringAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction UnregisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("UnregisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
static IAsyncAction UnregisterDevicePresenceMonitoringAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction UnregisterDevicePresenceMonitoringAsync(string deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("UnregisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public static IAsyncAction UnregisterDevicePresenceMonitoringAsync(string deviceId);
function unregisterDevicePresenceMonitoringAsync(deviceId)
Public Shared Function UnregisterDevicePresenceMonitoringAsync (deviceId As String) As IAsyncAction
Paramètres
- deviceId
-
String
Platform::String
winrt::hstring
Identificateur unique du périphérique.
Retours
Cette méthode ne retourne pas de valeur.
- Attributs
Configuration requise pour Windows
Famille d’appareils |
Windows 10 Creators Update (introduit dans 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v4.0)
|