AllJoynAboutData.IsEnabled 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 if the service should advertise the provided AllJoynAboutData values.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
public bool IsEnabled { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] set; }
var boolean = allJoynAboutData.isEnabled;
allJoynAboutData.isEnabled = boolean;
Public Property IsEnabled As Boolean

Property Value

Boolean

bool

True if enabled; otherwise, false.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to