다음을 통해 공유


DeviceInformationPairing.TryRegisterForAllInboundPairingRequestsWithProtectionLevel 메서드

정의

지정된 최소 보호 수준으로 모든 인바운드 페어링 요청을 처리하도록 애플리케이션을 등록합니다.

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) 애플리케이션에서만 작동합니다.

적용 대상