ConnectionDroppedReason Enum

Definition

Represents the reason for the dropped connection event.

public enum class ConnectionDroppedReason
public enum ConnectionDroppedReason
Public Enum ConnectionDroppedReason
Inheritance
ConnectionDroppedReason

Fields

ApplicationDisabled 1

Application has been disabled by the administrator. Applications should check their configuration state and attempt reconnection only if configuration state indicates that the application is enabled.

ApplicationDisconnected 0

Application has been disconnected by the server. This can be a transient overload or is due to a non-responsive application. The application can reestablish the connection.

ApplicationReconnectTimeout 2

Application reconnect timed out. Application can wait and try to reestablish the connection.

ServerAgentDisposed 5

This is normally raised when ServerAgent.Dispose() is called by the application and the connection was terminated by ServerAgent.

ServerShutdown 3

Server is shutting down. Application should also shut down at this point.

ServerTerminated 4

Server process shut down unexpectedly. This could be due to external conditions and application can call WaitForServerAvailable and attempt to reconnect after the server starts again.

Applies to