AllJoynBusObject.AddProducer(IAllJoynProducer) メソッド

定義

重要

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

サービス プロバイダーに生成される追加のインターフェイスを追加します。

public:
 virtual void AddProducer(IAllJoynProducer ^ producer) = AddProducer;
void AddProducer(IAllJoynProducer const& producer);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusObject has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
void AddProducer(IAllJoynProducer const& producer);
public void AddProducer(IAllJoynProducer producer);
[Windows.Foundation.Metadata.Deprecated("AllJoynBusObject has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public void AddProducer(IAllJoynProducer producer);
function addProducer(producer)
Public Sub AddProducer (producer As IAllJoynProducer)

パラメーター

producer
IAllJoynProducer

生成するインターフェイス。

属性

Windows の要件

アプリの機能
allJoyn

適用対象