DisconnectionReason Enumeration

GF API Documentation
Reason for disconnection

Namespace:  GF.Api.Connection
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public enum DisconnectionReason
Members

  Member nameValueDescription
SocketError0 There was a problem with the socket's connection
LoginFailure1 The server rejected the login request
ByAdmin2 The server told the client to disconnect
ByUser3 The user requested disconnection
ByAggregate4 Disconnected because another connection in the aggregate was disconnected
See Also

Reference