DevicePairingSetMembersRequestedEventArgs クラス

定義

DeviceInformationCustomPairing.PairingSetMembersRequested イベントのハンドラーに渡されるイベント引数。これは、ペアリング セットのメンバーが要求されたときに発生します。

DevicePairingSetMembersRequestedEventArgs には、成功または失敗を示す状態が含まれます。その状態に応じて、セットに追加された、またはセットに追加できなかったデバイス/エンドポイントのベクトル。と 親デバイスに関する情報。

詳細とコード例については、「 DeviceInformationPairing.Custom プロパティを使用してセットをペアリングする」を参照してください。

public ref class DevicePairingSetMembersRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DevicePairingSetMembersRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DevicePairingSetMembersRequestedEventArgs
Public NotInheritable Class DevicePairingSetMembersRequestedEventArgs
継承
Object Platform::Object IInspectable DevicePairingSetMembersRequestedEventArgs
属性

Windows の要件

デバイス ファミリ
Windows 11 Insider Preview (10.0.26100.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v19.0 で導入)

プロパティ

PairingSetMembers

Status の値に応じて、セットに追加された、またはセットに追加できなかったデバイス/エンドポイントのベクターを取得 します。 詳細とコード例については、「 DeviceInformationPairing.Custom プロパティを使用してセットをペアリングする」を参照してください。

ParentDeviceInformation

セットのプライマリ デバイス/エンドポイントを取得します。 詳細とコード例については、「 DeviceInformationPairing.Custom プロパティを使用してセットをペアリングする」を参照してください。

Status

メンバーをペアリング セットに追加した結果を示す状態値を取得します。 詳細とコード例については、「 DeviceInformationPairing.Custom プロパティを使用してセットをペアリングする」を参照してください。

適用対象

こちらもご覧ください