Fetch Request Class
A request for fetching various properties of a message.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class FetchRequest : IFetchRequest- Inheritance
- Object FetchRequest
- Implements
- IFetchRequest
Remarks
A request for fetching various properties of a message.
Constructors
| FetchRequest | Initializes a new instance of the FetchRequest class. |
| FetchRequest(MessageSummaryItems) | Initializes a new instance of the FetchRequest class. |
| FetchRequest(MessageSummaryItems, IEnumerableHeaderId) | Initializes a new instance of the FetchRequest class. |
| FetchRequest(MessageSummaryItems, IEnumerableString) | Initializes a new instance of the FetchRequest class. |
Properties
| ChangedSince | Get or set the mod-sequence value that indicates the last known state of the messages being requested. |
| Headers | Get the set of headers that will be fetched. |
| Items | Get or set the message summary items to fetch. |
| PartialRange | Get or set the partial range of messages to fetch. |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OnCompleted(IMailFolder, IListUniqueId) | Called when the server has successfully fetched a subset of the messages. |
| OnCompleted(IMailFolder, IListInt32) | Called when the server has successfully fetched a subset of the messages. |
| OnProgress | Called when the server reports the progress of a command. |
| OnStarted(IMailFolder, IListUniqueId) | Called when a subset of the messages is about to be fetched. |
| OnStarted(IMailFolder, IListInt32) | Called when a subset of the messages is about to be fetched. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |