DeviceInformationCustomPairing Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt eine benutzerdefinierte Kopplung für ein DeviceInformation-Objekt dar.
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
- Vererbung
- Attribute
Windows-Anforderungen
| Gerätefamilie |
Windows 10 (eingeführt in 10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)
|
Methoden
| AddPairingSetMember(DeviceInformation) |
Fügen Sie ein Mitglied eines Kopplungssatzes hinzu (für Bluetooth LE- und IPP-Drucker). Weitere Informationen und Codebeispiele finden Sie unter Koppeln eines Satzes mit der DeviceInformationPairing.Custom-Eigenschaft. |
| PairAsync(DevicePairingKinds) |
Versucht, das Gerät zu koppeln. |
| PairAsync(DevicePairingKinds, DevicePairingProtectionLevel) |
Versucht, ein Gerät mit einer Mindestschutzstufe zu koppeln. |
| PairAsync(DevicePairingKinds, DevicePairingProtectionLevel, IDevicePairingSettings) |
Versucht, ein Gerät mit einer Mindestschutzstufe und benutzerdefinierten Einstellungen zu koppeln. |
Ereignisse
| PairingRequested |
Wird ausgelöst, wenn eine Kopplungsaktion angefordert wird. |
| PairingSetMembersRequested |
Wird ausgelöst, wenn die Member eines Kopplungssatzes angefordert wurden. Weitere Informationen und Codebeispiele finden Sie unter Koppeln eines Satzes mit der DeviceInformationPairing.Custom-Eigenschaft. |