AllJoynBusAttachment.State 属性

定义

重要

Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen Alliance 赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如开灯和关灯以及读取温度。 有关替代项(如 IoTivity LiteIoTivity),请参阅 iotivity.org 网站。

总线附件的当前状态。 状态更改通过 StateChanged 事件显示。 可能的值由 AllJoynBusAttachmentState 枚举定义。

public:
 property AllJoynBusAttachmentState State { AllJoynBusAttachmentState get(); };
AllJoynBusAttachmentState State();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment 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("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var allJoynBusAttachmentState = allJoynBusAttachment.state;
Public ReadOnly Property State As AllJoynBusAttachmentState

属性值

总线附件的状态。

属性

Windows 要求

应用功能
allJoyn

适用于

另请参阅