Collapse All Expand All

.NET Framework Class Library
ConnectionFactory Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Set the Connect Attempt timeout for a given connection.

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

# Syntax

    public void SetConnAttemptTimeout(
    	int timeout
    )

    Public Sub SetConnAttemptTimeout ( _
    	timeout As Integer _
    )

    public:
    void SetConnAttemptTimeout(
    	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 connect_attempt. For example, to specify two connect attempts for a given url, then for each attempt the client will wait for the period specified by the connect attempt timeout for the connection to be established. If no connection is established within that the specified timeframe, the client connection attempt is terminated.

# See Also

ConnectionFactory Class
TIBCO.EMS Namespace