Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Properties

connectRetries Property

Scroll Prev Top Next More

 

Set the number of connection retry attempts to make if there are no available sessions.

 

HostConnection.connectRetries

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

Remarks

 

READWRITE.

 

Defaults to 0 (zero).

 

If set to a non-zero integer value, when a connection is attempted and there are no available sessions, a delay of between 50 and 250 milliseconds will occur before attempting to make the connection again, until the number of connectRetries has been reached.

 

This property is useful in a pooled session environment.

 

Requirements

 

Inventu Viewer+

 

See Also

 

Connect | Disconnect | connectRetryDelay

 

Applies To: HostConnection object

 

 


 

© 2022 Inventu Corporation