Share via


AllJoynBusAttachmentStateChangedEventArgs.State Property

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.

Indicates the current state of a connection to an AllJoyn bus.

public:
 property AllJoynBusAttachmentState State { AllJoynBusAttachmentState get(); };
AllJoynBusAttachmentState State();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachmentStateChangedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
AllJoynBusAttachmentState State();
public AllJoynBusAttachmentState State { get; }
public AllJoynBusAttachmentState State { [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachmentStateChangedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var allJoynBusAttachmentState = allJoynBusAttachmentStateChangedEventArgs.state;
Public ReadOnly Property State As AllJoynBusAttachmentState

Property Value

The current connection state.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to