Click or drag to resize
MimeKit

FetchRequest(MessageSummaryItems, IEnumerableString) Constructor

Initializes a new instance of the FetchRequest class.

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

Parameters

items  MessageSummaryItems
The items to fetch.
headers  IEnumerableString
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