NServiceBus.Transports.RabbitMQ.PersistentConnection.PersistentConnection C# (CSharp) Method

PersistentConnection() public method

public PersistentConnection ( RabbitMqConnectionFactory connectionFactory, System.TimeSpan retryDelay, string purpose ) : System
connectionFactory RabbitMqConnectionFactory
retryDelay System.TimeSpan
purpose string
return System
        public PersistentConnection(RabbitMqConnectionFactory connectionFactory, TimeSpan retryDelay,string purpose)
        {
            this.connectionFactory = connectionFactory;
            this.retryDelay = retryDelay;
            this.purpose = purpose;

            TryToConnect(null);
        }