Share via


IAllJoynProducer.SetBusObject(AllJoynBusObject) 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.

Sets the specified bus object to be used when the producer is added.

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

Parameters

busObject
AllJoynBusObject

The desired bus object.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to

See also