Share via


DeviceInformationCustomPairing 클래스

정의

DeviceInformation 개체에 대한 사용자 지정 페어링을 나타냅니다.

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

Windows 요구 사항

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

메서드

AddPairingSetMember(DeviceInformation)

페어링 집합의 멤버를 추가합니다(Bluetooth LE 및 IPP 스타일 프린터의 경우). 자세한 정보 및 코드 예제는 DeviceInformationPairing.Custom 속성과 집합 페어링을 참조하세요.

PairAsync(DevicePairingKinds)

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

PairAsync(DevicePairingKinds, DevicePairingProtectionLevel)

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

PairAsync(DevicePairingKinds, DevicePairingProtectionLevel, IDevicePairingSettings)

최소 보호 수준 및 사용자 지정 설정을 사용하여 디바이스를 페어링하려고 시도합니다.

이벤트

PairingRequested

페어링 작업이 요청될 때 발생합니다.

PairingSetMembersRequested

페어링 집합의 멤버가 요청되었을 때 발생합니다. 자세한 정보 및 코드 예제는 DeviceInformationPairing.Custom 속성과 집합 페어링을 참조하세요.

적용 대상