MailBee.NET Objects 3.1

SortableByPriorityCollection Class

Represents an abstract parent for all MailBee collections sorted by Priority value of their elements.

For a list of all members of this type, see SortableByPriorityCollection Members.

System.Object
   System.Collections.CollectionBase
      MailBee.SortableByPriorityCollection
         MailBee.DnsMX.DnsServerCollection
         MailBee.SmtpMail.SmtpServerCollection

public abstract class SortableByPriorityCollection : CollectionBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Sorting by priority is used to sort DnsServer and SmtpServer objects in their corresponding collections so that servers with higher priority (also called preference) would be used first.

In send mail scenarios, having servers sorted by the priority value allows MailBee to send mails to high-priority servers while low priority servers are used as backup servers in the case if the primary servers fail.

Requirements

Namespace: MailBee

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

SortableByPriorityCollection Members | MailBee Namespace | DnsServerCollection | SmtpServerCollection