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()

PairRequested イベントを受け入れ、デバイスとアプリケーションをペアリングします。

Accept(String)

PairRequested イベントを受け入れ、デバイスとアプリケーションをペアリングします。 ペアリングのためにピンが必要です。

AcceptWithAddress(String)

PairingRequested イベントのデータを提供します。

AcceptWithPasswordCredential(PasswordCredential)

PairRequested イベントを受け入れ、デバイスとアプリケーションをペアリングします。 ペアリングのためにユーザー名とパスワードが必要です。

GetDeferral()

非同期操作をサポートするために 遅延 を要求します。

適用対象