Message |
public static IList<MessageThread> Thread( this IEnumerable<IMessageSummary> messages, ThreadingAlgorithm algorithm, IList<OrderBy> orderBy )
Exception | Condition |
---|---|
ArgumentNullException | messages is null. -or- orderBy is null. |
ArgumentOutOfRangeException | algorithm is not a valid threading algorithm. |
ArgumentException | messages contains one or more items that is missing information needed for threading or sorting. -or- orderBy is an empty list. |