Click or drag to resize

ImapThreadAsync(ThreadMethod, ICriterion, CancellationToken) Method

Gets threaded messages, that match specified search criteria, using server-side threading. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<List<MessageThread>> ThreadAsync(
	ThreadMethod method,
	ICriterion criterion,
	CancellationToken cancel = default
)

Parameters

method  ThreadMethod
Threading method that should be used.
criterion  ICriterion
Search criteria. Use And(ICriterion) to join several criteria.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskListMessageThread
List of message threads.
See Also