Pop3DownloadMessageHeadersAsync Method (Int32, Int32, Int32) |
Namespace: MailBee.Pop3MailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<MailMessageCollection> DownloadMessageHeadersAsync(
int startIndex,
int count,
int bodyLineCount
)
Public Function DownloadMessageHeadersAsync (
startIndex As Integer,
count As Integer,
bodyLineCount As Integer
) As Task(Of MailMessageCollection)
Parameters
- startIndex
- Type: SystemInt32
The ordinal position (in the inbox) of the first message
in the range to be downloaded. - count
- Type: SystemInt32
Number of messages to be downloaded, or -1 to
indicate that all messages in the range startIndex to
InboxMessageCount must be downloaded. - bodyLineCount
- Type: SystemInt32
Number of lines of the message source body to download
in addition to the message source header, or -1 to download the entire messages.
Return Value
Type:
TaskMailMessageCollectionA task that represents the asynchronous operation.
On success, the value of
TResult parameter is a
MailMessageCollection object containing the downloaded message headers;
otherwise, a null reference (
Nothing in Visual Basic).
Exceptions See Also