DeviceInformationPairing 클래스

정의

정보를 포함하고 디바이스에 대한 페어링을 사용하도록 설정합니다.

public ref class DeviceInformationPairing sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DeviceInformationPairing final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DeviceInformationPairing
Public NotInheritable Class DeviceInformationPairing
상속
Object IInspectable DeviceInformationPairing
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

버전 기록

Windows 버전 SDK 버전 추가된 값
1511 10586 사용자 지정
1511 10586 PairAsync(DevicePairingProtectionLevel,IDevicePairingSettings)
1511 10586 ProtectionLevel
1511 10586 TryRegisterForAllInboundPairingRequests
1511 10586 UnpairAsync
1809 17763 TryRegisterForAllInboundPairingRequestsWithProtectionLevel

속성

CanPair

디바이스를 페어링할 수 있는지 여부를 나타내는 값을 가져옵니다.

Custom

사용자 지정 페어링에 DeviceInformationCustomPairing 필요한 개체를 가져옵니다.

IsPaired

디바이스가 현재 페어링되었는지 여부를 나타내는 값을 가져옵니다.

ProtectionLevel

디바이스를 페어링하는 데 사용되는 보호 수준을 가져옵니다.

메서드

PairAsync()

디바이스를 페어링하려고 시도합니다.

PairAsync(DevicePairingProtectionLevel)

제공된 보호 수준을 사용하여 디바이스를 페어링하려고 시도합니다.

PairAsync(DevicePairingProtectionLevel, IDevicePairingSettings)

디바이스 개체를 지정된 보호 수준 및 사용자 지정 설정과 페어링하려고 시도합니다.

TryRegisterForAllInboundPairingRequests(DevicePairingKinds)

모든 인바운드 페어링 요청을 처리하도록 애플리케이션을 등록합니다.

TryRegisterForAllInboundPairingRequestsWithProtectionLevel(DevicePairingKinds, DevicePairingProtectionLevel)

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

UnpairAsync()

디바이스를 납기화하려고 시도합니다.

적용 대상