DeviceInformationPairing.TryRegisterForAllInboundPairingRequestsWithProtectionLevel 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 최소 보호 수준으로 모든 인바운드 페어링 요청을 처리하도록 애플리케이션을 등록합니다.
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
매개 변수
- pairingKindsSupported
- DevicePairingKinds
앱에서 지원하는 페어링 종류입니다.
- minProtectionLevel
- DevicePairingProtectionLevel
페어링 요청에 수락하는 데 필요한 최소 보호 수준입니다.
반환
Boolean
bool
시도가 성공했는지 여부입니다.
Windows 요구 사항
디바이스 패밀리 |
Windows 10, version 1809 (10.0.17763.0에서 도입되었습니다.)
|
API contract |
Windows.Foundation.UniversalApiContract (v7.0에서 도입되었습니다.)
|
설명
이 API는 Windows 10 IoT Core(IoT Core) 애플리케이션에서만 작동합니다.