Collapse All Expand All

.NET Framework Class Library
XAConnectionFactory Class See Also

[TIBCO.EMS .NET client library 6.1 documentation]

Set the Reconnect Attempt timeout for a given connection.

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

# Syntax

    public void SetReconnAttemptTimeout(
    	int timeout
    )

    Public Sub SetReconnAttemptTimeout ( _
    	timeout As Integer _
    )

    public:
    void SetReconnAttemptTimeout(
    	int timeout
    )

#### Parameters

timeout
  Type: System..::.Int32
  The timeout, in milliseconds. The minimum value is 100 milliseconds. If a value of less than 100 milliseconds is specified, then the minimum value of 100 milliseconds is used.

# Remarks

This timeout is per url and per reconnect_attempt. For example, to specify two reconnect attempts for a given url, then for each attempt the client will wait for the period specified by the reconnect attempt timeout for the connection to be established. If no reconnection is established within that the specified timeframe, the reconnection attempt is terminated.

# See Also

XAConnectionFactory Class
TIBCO.EMS Namespace