dotConnect for PostgreSQL Documentation
Devart.Common Namespace / ConnectionLostEventArgs Class / ConnectionLostEventArgs Constructor
The object where the connection loss occurs.
The reason of the connection loss.
The state of connection when connection is lost.
The application behavior when connection is lost.
The number of attempts to reconnect.

In This Topic
ConnectionLostEventArgs Constructor
In This Topic
Initializes a new instance of the ConnectionLostEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal component As Object, _
   ByVal cause As ConnectionLostCause, _
   ByVal context As ConnectionLostContext, _
   ByVal retryMode As RetryMode, _
   ByVal attemptNumber As Integer _
)
 

Parameters

component
The object where the connection loss occurs.
cause
The reason of the connection loss.
context
The state of connection when connection is lost.
retryMode
The application behavior when connection is lost.
attemptNumber
The number of attempts to reconnect.
See Also