共用方式為


AllJoynBusAttachmentState 列舉

定義

重要

Windows.Devices.AllJoyn命名空間中的類型已被取代,未來版本的 Windows 可能無法使用。 AllJoyn 是由 AllSeen聯盟贊助,是一種開放原始碼探索和通訊協定,適用于物聯網 (IoT) 案例,例如開啟和關閉光線,以及讀取溫度。 如需 IoTivity LiteIoTivity等替代方案,請參閱 iotivity.org 網站。

定義值,這個值用來表示與 AllJoyn 匯流排所管理之 AllJoyn 匯流排的連接狀態,該連接是由 AllJoynBusAttachment 物件所管理。

public enum class AllJoynBusAttachmentState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AllJoynBusAttachmentState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachmentState has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
enum class AllJoynBusAttachmentState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AllJoynBusAttachmentState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachmentState has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public enum AllJoynBusAttachmentState
var value = Windows.Devices.AllJoyn.AllJoynBusAttachmentState.disconnected
Public Enum AllJoynBusAttachmentState
繼承
AllJoynBusAttachmentState
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
allJoyn

欄位

Connected 2

目前已連線到匯流排。

Connecting 1

連接到匯流排。

Disconnected 0

已中斷與匯流排的連線。

Disconnecting 3

目前中斷與匯流排的連線。

適用於