Click or drag to resize
MimeKit

FetchRequest(MessageSummaryItems, IEnumerableHeaderId) Constructor

Initializes a new instance of the FetchRequest class.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public FetchRequest(
	MessageSummaryItems items,
	IEnumerable<HeaderId> headers
)

Parameters

items  MessageSummaryItems
The items to fetch.
headers  IEnumerableHeaderId
The specific set of headers to fetch.
Exceptions
ExceptionCondition
ArgumentNullExceptionheaders is null.
ArgumentException One or more of the specified headers is invalid.
Remarks
Creates a new FetchRequest.
See Also