'Declaration Public Function New( _ ByVal component As Object, _ ByVal cause As ConnectionLostCause, _ ByVal context As ConnectionLostContext, _ ByVal retryMode As RetryMode, _ ByVal attemptNumber As Integer _ )
public ConnectionLostEventArgs( object component, ConnectionLostCause cause, ConnectionLostContext context, RetryMode retryMode, int attemptNumber )
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.