System.Net.Configuration.ConnectionManagementSectionInternal.ConnectionManagementSectionInternal C# (CSharp) Method

ConnectionManagementSectionInternal() private method

private ConnectionManagementSectionInternal ( ConnectionManagementSection section ) : System.Configuration
section ConnectionManagementSection
return System.Configuration
        internal ConnectionManagementSectionInternal(ConnectionManagementSection section)
        {
            if (section.ConnectionManagement.Count > 0)
            {
                this.connectionManagement = new Hashtable(section.ConnectionManagement.Count);
                foreach(ConnectionManagementElement connectionManagementElement in section.ConnectionManagement)
                {
                    this.connectionManagement[connectionManagementElement.Address] = connectionManagementElement.MaxConnection;
                }
            }
        }
ConnectionManagementSectionInternal