A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mimekit.net/docs/html/M_MailKit_IMailFolderExtensions_Fetch_13.htm below:

IMailFolderExtensionsFetch(IMailFolder, Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken) Method

IMailFolderExtensionsFetch(IMailFolder, Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken) Method

Fetch the message summaries for the messages between the two indexes, inclusive.


Namespace: MailKit
Assembly:

MailKit (in MailKit.dll) Version: 4.12.1

Syntax
public static IList<IMessageSummary> Fetch(
	this IMailFolder folder,
	int min,
	int max,
	MessageSummaryItems items,
	IEnumerable<string> headers,
	CancellationToken cancellationToken = default
)
Parameters
folder  IMailFolder
The folder.
min  Int32
The minimum index.
max  Int32
The maximum index, or -1 to specify no upper bound.
items  MessageSummaryItems
The message summary items to fetch.
headers  IEnumerableString
The desired header fields.
cancellationToken  CancellationToken  (Optional)
The cancellation token.
Return ValueIListIMessageSummary

An enumeration of summaries for the requested messages.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type

IMailFolder

. When you use instance method syntax to call this method, omit the first parameter. For more information, see

Extension Methods (Visual Basic)

or

Extension Methods (C# Programming Guide)

.

Exceptions Remarks

Fetches the message summaries for the messages between the two indexes, inclusive.

It should be noted that if another client has modified any message in the folder, the mail service may choose to return information that was not explicitly requested. It is therefore important to be prepared to handle both additional fields on a IMessageSummary for messages that were requested as well as summaries for messages that were not requested at all.

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4