Represents the reason for the dropped connection event.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Enumeration ConnectionDroppedReason |
Visual Basic (usage) |
---|
Dim instance As ConnectionDroppedReason |
C# |
---|
public enum ConnectionDroppedReason |
Members
Member name | Description | |
---|---|---|
ApplicationDisconnected | 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. | |
ApplicationDisabled | 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. | |
ApplicationReconnectTimeout | Application reconnect timed out. Application can wait and try to reestablish the connection. | |
ServerShutdown | Server is shutting down. Application should also shut down at this point. | |
ServerTerminated | Server process shut down unexpectedly. This could be due to external conditions and application can call WaitForServerAvailableand attempt to reconnect after the server starts again. | |
ServerAgentDisposed | This is normally raised when ServerAgent.Dispose()is called by the application and the connection was terminated by ServerAgent. |