次の方法で共有


DeviceInformationPairing.TryRegisterForAllInboundPairingRequests メソッド

定義

すべての受信ペアリング要求を処理するアプリケーションを登録します。

public:
 static bool TryRegisterForAllInboundPairingRequests(DevicePairingKinds pairingKindsSupported);
 static bool TryRegisterForAllInboundPairingRequests(DevicePairingKinds const& pairingKindsSupported);
public static bool TryRegisterForAllInboundPairingRequests(DevicePairingKinds pairingKindsSupported);
function tryRegisterForAllInboundPairingRequests(pairingKindsSupported)
Public Shared Function TryRegisterForAllInboundPairingRequests (pairingKindsSupported As DevicePairingKinds) As Boolean

パラメーター

pairingKindsSupported
DevicePairingKinds

アプリがサポートするペアリングの種類。

戻り値

Boolean

bool

試行が成功したかどうか。

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

注釈

この API は、Windows 10 IoT Core (IoT Core) アプリケーションでのみ機能します。

適用対象