AllJoynBusObject.AddProducer(IAllJoynProducer) Method

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Adds an additional interface to be produced to the service provider.

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)

Parameters

producer
IAllJoynProducer

The interface to be produced.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to