DeviceInformationCustomPairing Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mewakili pemasangan kustom untuk objek 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
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)
|
Metode
AddPairingSetMember(DeviceInformation) |
Tambahkan anggota set pemasangan (untuk printer gaya BLUETOOTH LE dan IPP). Untuk informasi selengkapnya, dan contoh kode, lihat Memasangkan set dengan properti DeviceInformationPairing.Custom. |
PairAsync(DevicePairingKinds) |
Mencoba memasangkan perangkat. |
PairAsync(DevicePairingKinds, DevicePairingProtectionLevel) |
Mencoba memasangkan perangkat menggunakan tingkat perlindungan minimum. |
PairAsync(DevicePairingKinds, DevicePairingProtectionLevel, IDevicePairingSettings) |
Mencoba memasangkan perangkat menggunakan tingkat perlindungan minimum dan pengaturan kustom. |
Acara
PairingRequested |
Dimunculkan saat tindakan pemasangan diminta. |
PairingSetMembersRequested |
Dimunculkan ketika anggota set pemasangan telah diminta. Untuk informasi selengkapnya, dan contoh kode, lihat Memasangkan set dengan properti DeviceInformationPairing.Custom. |