DeviceInformationPairing.TryRegisterForAllInboundPairingRequestsWithProtectionLevel Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Registra l'applicazione per gestire tutte le richieste di associazione in ingresso con il livello minimo di protezione specificato.
public:
static bool TryRegisterForAllInboundPairingRequestsWithProtectionLevel(DevicePairingKinds pairingKindsSupported, DevicePairingProtectionLevel minProtectionLevel);
static bool TryRegisterForAllInboundPairingRequestsWithProtectionLevel(DevicePairingKinds const& pairingKindsSupported, DevicePairingProtectionLevel const& minProtectionLevel);
public static bool TryRegisterForAllInboundPairingRequestsWithProtectionLevel(DevicePairingKinds pairingKindsSupported, DevicePairingProtectionLevel minProtectionLevel);
function tryRegisterForAllInboundPairingRequestsWithProtectionLevel(pairingKindsSupported, minProtectionLevel)
Public Shared Function TryRegisterForAllInboundPairingRequestsWithProtectionLevel (pairingKindsSupported As DevicePairingKinds, minProtectionLevel As DevicePairingProtectionLevel) As Boolean
Parametri
- pairingKindsSupported
- DevicePairingKinds
L'associazione tipi l'app supporta.
- minProtectionLevel
- DevicePairingProtectionLevel
Livello minimo di protezione necessario da accettare per le richieste di associazione.
Restituisce
bool
Indica se il tentativo ha avuto esito positivo.
Requisiti Windows
Famiglia di dispositivi |
Windows 10, version 1809 (è stato introdotto in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (è stato introdotto in v7.0)
|
Commenti
Questa API funziona solo con applicazioni Windows 10 IoT Core (IoT Core).