[TIBCO.EMS .NET client library 5.1 documentation]

Returns the reconnect attempts setting.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public static string GetReconnectAttempts()
Public Shared Function GetReconnectAttempts As String
public:
static String^ GetReconnectAttempts()

Remarks

This setting governs all client Connection objects as they attempt to reconnect to the server after a network disconnect. Its value is a string of the form attempts or attempts,delay:
  • attempts limits the number of times that the connection object attempts to reestablish a connection to the server. When this property is absent, the default value is 4. The minimum value is 1.
  • delay is the time (in milliseconds) between reconnection attempts. When absent, the default value is 500. The minimum value is 250.

This method returns the string argument to Tibems.SetReconnectAttempts, rather than the numeric value of the setting. If the client has not set a value, this method returns the null string.

See Also