Fetch Request(Message Summary Items, IEnumerableHeader Id) Constructor
Initializes a new instance of the FetchRequest class.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public FetchRequest(
MessageSummaryItems items,
IEnumerable<HeaderId> headers
)Parameters
- items MessageSummaryItems
- The items to fetch.
- headers IEnumerableHeaderId
- The specific set of headers to fetch.
Remarks
Creates a new FetchRequest.
Exceptions
| ArgumentNullException | headers is . |
| ArgumentException | One or more of the specified headers is invalid. |