Click or drag to resize

ClientNetworkConfigSetConnectionAttemptLimit Method

While client is trying to connect initially to one of the members in the configured address list, all might be not available. Instead of giving up, throwing Exception and stopping client, it will attempt to retry as much as connection attempt limit times.

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax
public virtual ClientNetworkConfig SetConnectionAttemptLimit(
	int connectionAttemptLimit
)

Parameters

connectionAttemptLimit
Type: SystemInt32
number of times to attempt to connect; A zero value means try forever. A negative value means default value

Return Value

Type: ClientNetworkConfig
ClientNetworkConfig for chaining
See Also