ImapEndSortedSearch Method
Ends the pending asynchronous sorted search request.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public MessageIndexCollection EndSortedSearch()

Return Value

Type: MessageIndexCollection
On success, a UidCollection or MessageNumberCollection object representing the indices (UIDs or ordinal message numbers) of the found messages in the specified order; otherwise, a null reference (Nothing in Visual Basic).
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
Remarks
The type of the collection returned (UidCollection or MessageNumberCollection) depends on the value of returnUids parameter of BeginSortedSearch(Boolean, String, String, String, AsyncCallback, Object) method called to initiate the sorted search.
See Also