ConnectionStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The connection status from a connection change event.
public enum ConnectionStatus
type ConnectionStatus =
Public Enum ConnectionStatus
- Inheritance
-
ConnectionStatus
Fields
Closed | 3 | The device connection was closed gracefully. |
Connected | 1 | The device or module is connected. |
Disabled | 3 | The device connection was closed. If you want to perform more operations on the device client, you should Dispose() and then re-initialize the client. |
Disconnected | 0 | The device or module is disconnected. |
Disconnected_Retrying | 2 | The device or module is attempting to reconnect. The client is attempting to recover the connection. Do NOT close or open the client instance when it is retrying. |
DisconnectedRetrying | 2 | The client is attempting to reconnect per retry policy. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應