ConnectionStatus Enum

Definition

The connection status from a connection change event.

public enum ConnectionStatus
type ConnectionStatus = 
Public Enum ConnectionStatus
Inheritance
ConnectionStatus

Fields

Name Value Description
Disconnected 0

The device or module is disconnected.

Connected 1

The device or module is connected.

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.

Closed 3

The device connection was closed gracefully.

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.

Applies to