AllJoynBusAttachment.GetDefault メソッド

定義

重要

Windows.Devices.AllJoyn 名前空間の型は非推奨であり、今後のバージョンの Windows では使用できない可能性があります。 AllJoyn は、AllSeen Alliance によって後援され、ライトのオンとオフ、温度の読み取りなどのモノのインターネット (IoT) シナリオ向けのオープンソースの検出および通信プロトコルでした。 IoTivity LiteIoTivity などの代替手段については、iotivity.org Web サイトを参照してください。

アプリのマニフェストで定義されている既定の AllJoynBusAttachment を取得します。

public:
 static AllJoynBusAttachment ^ GetDefault();
 static AllJoynBusAttachment GetDefault();
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 static AllJoynBusAttachment GetDefault();
public static AllJoynBusAttachment GetDefault();
[Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public static AllJoynBusAttachment GetDefault();
function getDefault()
Public Shared Function GetDefault () As AllJoynBusAttachment

戻り値

既定のバス接続。

属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)
アプリの機能
allJoyn

注釈

このメソッドはスレッド セーフであり、その呼び出しごとに同じバス接続インスタンスを返すように保証されます。

適用対象