DevicePairingRequestedEventArgs 클래스

정의

PairingRequested 이벤트에 대한 데이터를 제공합니다.

public ref class DevicePairingRequestedEventArgs 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 DevicePairingRequestedEventArgs 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 DevicePairingRequestedEventArgs
Public NotInheritable Class DevicePairingRequestedEventArgs
상속
Object Platform::Object IInspectable DevicePairingRequestedEventArgs
특성

Windows 요구 사항

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

설명

버전 기록

Windows 버전 SDK 버전 추가된 값
1903 18362 AcceptWithPasswordCredential

속성

DeviceInformation

이 페어링 요청과 연결된 DeviceInformation 개체를 가져옵니다.

PairingKind

이 페어링 이벤트와 연결된 페어링의 종류를 가져옵니다.

Pin

페어링 요청과 연결된 핀을 가져옵니다.

메서드

Accept()

PairingRequested 이벤트를 수락하고 디바이스를 애플리케이션과 페어링합니다.

Accept(String)

PairingRequested 이벤트를 수락하고 디바이스를 애플리케이션과 페어링합니다. 페어링을 위해 핀이 필요합니다.

AcceptWithAddress(String)

PairingRequested 이벤트에 대한 데이터를 제공합니다.

AcceptWithPasswordCredential(PasswordCredential)

PairingRequested 이벤트를 수락하고 디바이스를 애플리케이션과 페어링합니다. 페어링을 위해 사용자 이름과 암호가 필요합니다.

GetDeferral()

비동기 작업을 지원하도록 Deferral 을 요청합니다.

적용 대상