Table of Contents

Enum ConnectionStates

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

Specifies the possible connection states.

[DataContract]
public enum ConnectionStates
Extension Methods

Fields

[EnumMember] Connected = 3

The connection is successfully established.

[EnumMember] Connecting = 2

The connection is in the process of connecting.

[EnumMember] Disconnected = 0

The connection is currently disconnected.

[EnumMember] Disconnecting = 1

The connection is in the process of disconnecting.

[EnumMember] Failed = 6

The connection attempt has failed.

[EnumMember] Reconnecting = 4

The connection is attempting to reconnect.

[EnumMember] Restored = 5

The connection has been restored.