Click or drag to resize
MimeKit

ImapFolder Class

An IMAP folder.
Inheritance Hierarchy

Namespace:  MailKit.Net.Imap
Assembly:  MailKit (in MailKit.dll) Version: 2.10.0
Syntax
C#
public class ImapFolder : MailFolder, IImapFolder, 
	IMailFolder, IEnumerable<MimeMessage>, IEnumerable

The ImapFolder type exposes the following members.

Constructors
  NameDescription
Public methodImapFolder
Initializes a new instance of the ImapFolder class.
Top
Properties
  NameDescription
Public propertyAcceptedFlags
Get the accepted flags.
(Inherited from MailFolder.)
Public propertyAccess
Get the read/write access of the folder.
(Inherited from MailFolder.)
Public propertyAnnotationAccess
Get the annotation access level.
(Inherited from MailFolder.)
Public propertyAnnotationScopes
Get the supported annotation scopes.
(Inherited from MailFolder.)
Public propertyAppendLimit
Get the maximum size of a message that can be appended to the folder.
(Inherited from MailFolder.)
Public propertyAttributes
Get the folder attributes.
(Inherited from MailFolder.)
Public propertyCount
Get the total number of messages in the folder.
(Inherited from MailFolder.)
Public propertyDirectorySeparator
Get the directory separator.
(Inherited from MailFolder.)
Public propertyExists
Get a value indicating whether the folder exists.
(Inherited from MailFolder.)
Public propertyFirstUnread
Get the index of the first unread message in the folder.
(Inherited from MailFolder.)
Public propertyFullName
Get the full name of the folder.
(Inherited from MailFolder.)
Public propertyHighestModSeq
Get the highest mod-sequence value of all messages in the mailbox.
(Inherited from MailFolder.)
Public propertyId
Get the unique identifier for the folder, if available.
(Inherited from MailFolder.)
Public propertyIsNamespace
Get whether or not the folder is a namespace folder.
(Inherited from MailFolder.)
Public propertyIsOpen
Gets a value indicating whether the folder is currently open.
(Overrides MailFolderIsOpen.)
Public propertyIsSubscribed
Get a value indicating whether the folder is subscribed.
(Inherited from MailFolder.)
Public propertyMaxAnnotationSize
Get the maximum size of annotation values supported by the folder.
(Inherited from MailFolder.)
Public propertyName
Get the name of the folder.
(Inherited from MailFolder.)
Public propertyParentFolder
Get the parent folder.
(Inherited from MailFolder.)
Public propertyPermanentFlags
Get the permanent flags.
(Inherited from MailFolder.)
Public propertyRecent
Get the number of recently added messages in the folder.
(Inherited from MailFolder.)
Public propertySize
Get the size of the folder.
(Inherited from MailFolder.)
Public propertySupportsModSeq Obsolete.
Get whether or not the folder supports mod-sequences.
(Inherited from MailFolder.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the IMAP server.
(Overrides MailFolderSyncRoot.)
Public propertyThreadingAlgorithms
Get the threading algorithms supported by the folder.
(Overrides MailFolderThreadingAlgorithms.)
Public propertyUidNext
Get the UID that the folder will assign to the next message that is added.
(Inherited from MailFolder.)
Public propertyUidValidity
Get the UID validity.
(Inherited from MailFolder.)
Public propertyUnread
Get the number of unread messages in the folder.
(Inherited from MailFolder.)
Top
Methods
  NameDescription
Public methodAddAccessRights
Add access rights for the specified identity.
(Overrides MailFolderAddAccessRights(String, AccessRights, CancellationToken).)
Public methodAddAccessRightsAsync
Asynchronously add access rights for the specified identity.
(Overrides MailFolderAddAccessRightsAsync(String, AccessRights, CancellationToken).)
Public methodAddFlags(IListInt32, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages.
(Inherited from MailFolder.)
Public methodAddFlags(Int32, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlags(UniqueId, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlags(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages.
(Inherited from MailFolder.)
Public methodAddFlags(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodAddFlags(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Adds a set of flags to the specified messages.
(Overrides MailFolderAddFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlags(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlags(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodAddFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Adds a set of flags to the specified messages.
(Overrides MailFolderAddFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Adds a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Adds a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlagsAsync(IListInt32, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(Int32, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(UniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously adds a set of flags to the specified messages.
(Overrides MailFolderAddFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlagsAsync(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodAddFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously adds a set of flags to the specified messages.
(Overrides MailFolderAddFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously adds a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously adds a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodAddLabels(Int32, IListString, Boolean, CancellationToken)
Add a set of labels to the specified message.
(Inherited from MailFolder.)
Public methodAddLabels(IListInt32, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages.
(Overrides MailFolderAddLabels(IListInt32, IListString, Boolean, CancellationToken).)
Public methodAddLabels(UniqueId, IListString, Boolean, CancellationToken)
Add a set of labels to the specified message.
(Inherited from MailFolder.)
Public methodAddLabels(IListUniqueId, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages.
(Overrides MailFolderAddLabels(IListUniqueId, IListString, Boolean, CancellationToken).)
Public methodAddLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken).)
Public methodAddLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken).)
Public methodAddLabelsAsync(Int32, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified message.
(Inherited from MailFolder.)
Public methodAddLabelsAsync(IListInt32, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages.
(Overrides MailFolderAddLabelsAsync(IListInt32, IListString, Boolean, CancellationToken).)
Public methodAddLabelsAsync(UniqueId, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified message.
(Inherited from MailFolder.)
Public methodAddLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages.
(Overrides MailFolderAddLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken).)
Public methodAddLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken).)
Public methodAddLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderAddLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken).)
Public methodAppend(MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from MailFolder.)
Public methodAppend(IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Inherited from MailFolder.)
Public methodAppend(FormatOptions, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Overrides MailFolderAppend(FormatOptions, MimeMessage, MessageFlags, CancellationToken, ITransferProgress).)
Public methodAppend(FormatOptions, IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Overrides MailFolderAppend(FormatOptions, IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress).)
Public methodAppend(MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from MailFolder.)
Public methodAppend(IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Inherited from MailFolder.)
Public methodAppend(FormatOptions, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Overrides MailFolderAppend(FormatOptions, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress).)
Public methodAppend(FormatOptions, IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Overrides MailFolderAppend(FormatOptions, IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress).)
Public methodAppend(MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from MailFolder.)
Public methodAppend(FormatOptions, MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Overrides MailFolderAppend(FormatOptions, MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress).)
Public methodAppendAsync(MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from MailFolder.)
Public methodAppendAsync(IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Inherited from MailFolder.)
Public methodAppendAsync(FormatOptions, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, MimeMessage, MessageFlags, CancellationToken, ITransferProgress).)
Public methodAppendAsync(FormatOptions, IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress).)
Public methodAppendAsync(MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from MailFolder.)
Public methodAppendAsync(IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Inherited from MailFolder.)
Public methodAppendAsync(FormatOptions, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress).)
Public methodAppendAsync(FormatOptions, IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress).)
Public methodAppendAsync(MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from MailFolder.)
Public methodAppendAsync(FormatOptions, MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress).)
Public methodCheck
Force the server to sync its in-memory state with its disk state.
(Overrides MailFolderCheck(CancellationToken).)
Public methodCheckAsync
Asynchronously force the server to sync its in-memory state with its disk state.
(Overrides MailFolderCheckAsync(CancellationToken).)
Public methodClose
Close the folder, optionally expunging the messages marked for deletion.
(Overrides MailFolderClose(Boolean, CancellationToken).)
Public methodCloseAsync
Asynchronously close the folder, optionally expunging the messages marked for deletion.
(Overrides MailFolderCloseAsync(Boolean, CancellationToken).)
Protected methodCommitStream
Public methodCopyTo(Int32, IMailFolder, CancellationToken)
Copy the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodCopyTo(IListInt32, IMailFolder, CancellationToken)
Copy the specified messages to the destination folder.
(Overrides MailFolderCopyTo(IListInt32, IMailFolder, CancellationToken).)
Public methodCopyTo(UniqueId, IMailFolder, CancellationToken)
Copy the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodCopyTo(IListUniqueId, IMailFolder, CancellationToken)
Copy the specified messages to the destination folder.
(Overrides MailFolderCopyTo(IListUniqueId, IMailFolder, CancellationToken).)
Public methodCopyToAsync(Int32, IMailFolder, CancellationToken)
Asynchronously copy the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodCopyToAsync(IListInt32, IMailFolder, CancellationToken)
Asynchronously copy the specified messages to the destination folder.
(Overrides MailFolderCopyToAsync(IListInt32, IMailFolder, CancellationToken).)
Public methodCopyToAsync(UniqueId, IMailFolder, CancellationToken)
Asynchronously copy the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodCopyToAsync(IListUniqueId, IMailFolder, CancellationToken)
Asynchronously copy the specified messages to the destination folder.
(Overrides MailFolderCopyToAsync(IListUniqueId, IMailFolder, CancellationToken).)
Public methodCreate(String, SpecialFolder, CancellationToken)
Create a new subfolder with the given name.
(Inherited from MailFolder.)
Public methodCreate(String, Boolean, CancellationToken)
Create a new subfolder with the given name.
(Overrides MailFolderCreate(String, Boolean, CancellationToken).)
Public methodCreate(String, IEnumerableSpecialFolder, CancellationToken)
Create a new subfolder with the given name.
(Overrides MailFolderCreate(String, IEnumerableSpecialFolder, CancellationToken).)
Public methodCreateAsync(String, SpecialFolder, CancellationToken)
Asynchronously create a new subfolder with the given name.
(Inherited from MailFolder.)
Public methodCreateAsync(String, Boolean, CancellationToken)
Asynchronously create a new subfolder with the given name.
(Overrides MailFolderCreateAsync(String, Boolean, CancellationToken).)
Public methodCreateAsync(String, IEnumerableSpecialFolder, CancellationToken)
Asynchronously create a new subfolder with the given name.
(Overrides MailFolderCreateAsync(String, IEnumerableSpecialFolder, CancellationToken).)
Protected methodCreateStream
Create a backing stream for use with the GetMessage, GetBodyPart, and GetStream methods.
Public methodDelete
Delete the folder on the IMAP server.
(Overrides MailFolderDelete(CancellationToken).)
Public methodDeleteAsync
Asynchronously delete the folder on the IMAP server.
(Overrides MailFolderDeleteAsync(CancellationToken).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExpunge(CancellationToken)
Expunge the folder, permanently removing all messages marked for deletion.
(Overrides MailFolderExpunge(CancellationToken).)
Public methodExpunge(IListUniqueId, CancellationToken)
Expunge the specified uids, permanently removing them from the folder.
(Overrides MailFolderExpunge(IListUniqueId, CancellationToken).)
Public methodExpungeAsync(CancellationToken)
Asynchronously expunge the folder, permanently removing all messages marked for deletion.
(Overrides MailFolderExpungeAsync(CancellationToken).)
Public methodExpungeAsync(IListUniqueId, CancellationToken)
Asynchronously expunge the specified uids, permanently removing them from the folder.
(Overrides MailFolderExpungeAsync(IListUniqueId, CancellationToken).)
Public methodFetch(IListInt32, MessageSummaryItems, CancellationToken)
Fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetch(IListInt32, MessageSummaryItems, CancellationToken).)
Public methodCode exampleFetch(IListUniqueId, MessageSummaryItems, CancellationToken)
Fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetch(IListUniqueId, MessageSummaryItems, CancellationToken).)
Public methodFetch(IListInt32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetch(IListInt32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetch(IListInt32, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetch(IListInt32, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetch(IListInt32, UInt64, MessageSummaryItems, CancellationToken)
Fetches the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(IListInt32, UInt64, MessageSummaryItems, CancellationToken).)
Public methodFetch(Int32, Int32, MessageSummaryItems, CancellationToken)
Fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetch(Int32, Int32, MessageSummaryItems, CancellationToken).)
Public methodFetch(IListUniqueId, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetch(IListUniqueId, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetch(IListUniqueId, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetch(IListUniqueId, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetch(IListUniqueId, UInt64, MessageSummaryItems, CancellationToken)
Fetches the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(IListUniqueId, UInt64, MessageSummaryItems, CancellationToken).)
Public methodFetch(IListInt32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetches the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(IListInt32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetch(IListInt32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetches the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(IListInt32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetch(Int32, Int32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetch(Int32, Int32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetch(Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetch(Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetch(Int32, Int32, UInt64, MessageSummaryItems, CancellationToken)
Fetches the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(Int32, Int32, UInt64, MessageSummaryItems, CancellationToken).)
Public methodFetch(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetches the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetch(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetches the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetch(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetches the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetch(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetches the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetch(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetchAsync(IListInt32, MessageSummaryItems, CancellationToken)
Asynchronously fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetchAsync(IListInt32, MessageSummaryItems, CancellationToken).)
Public methodCode exampleFetchAsync(IListUniqueId, MessageSummaryItems, CancellationToken)
Asynchronously fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetchAsync(IListUniqueId, MessageSummaryItems, CancellationToken).)
Public methodFetchAsync(IListInt32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetchAsync(IListInt32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetchAsync(IListInt32, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetchAsync(IListInt32, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetchAsync(IListInt32, UInt64, MessageSummaryItems, CancellationToken)
Asynchronously fetches the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(IListInt32, UInt64, MessageSummaryItems, CancellationToken).)
Public methodFetchAsync(Int32, Int32, MessageSummaryItems, CancellationToken)
Asynchronously fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetchAsync(Int32, Int32, MessageSummaryItems, CancellationToken).)
Public methodFetchAsync(IListUniqueId, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetchAsync(IListUniqueId, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetchAsync(IListUniqueId, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetchAsync(IListUniqueId, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, CancellationToken)
Asynchronously fetches the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, CancellationToken).)
Public methodFetchAsync(IListInt32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetches the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(IListInt32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetchAsync(IListInt32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetches the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(IListInt32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetchAsync(Int32, Int32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetchAsync(Int32, Int32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetchAsync(Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetchAsync(Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, CancellationToken)
Asynchronously fetches the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, CancellationToken).)
Public methodFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetches the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetches the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken).)
Public methodFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetches the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken).)
Public methodFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetches the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Overrides MailFolderFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAccessControlList
Get the complete access control list for the folder.
(Overrides MailFolderGetAccessControlList(CancellationToken).)
Public methodGetAccessControlListAsync
Asynchronously get the complete access control list for the folder.
(Overrides MailFolderGetAccessControlListAsync(CancellationToken).)
Public methodGetAccessRights
Get the access rights for a particular identifier.
(Overrides MailFolderGetAccessRights(String, CancellationToken).)
Public methodGetAccessRightsAsync
Asynchronously get the access rights for a particular identifier.
(Overrides MailFolderGetAccessRightsAsync(String, CancellationToken).)
Public methodGetBodyPart(Int32, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part.
(Overrides MailFolderGetBodyPart(Int32, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetBodyPart(Int32, String, CancellationToken, ITransferProgress)
Get the specified body part.
Public methodCode exampleGetBodyPart(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part.
(Overrides MailFolderGetBodyPart(UniqueId, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetBodyPart(UniqueId, String, CancellationToken, ITransferProgress)
Get the specified body part.
Public methodGetBodyPartAsync(Int32, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
(Overrides MailFolderGetBodyPartAsync(Int32, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetBodyPartAsync(Int32, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
Public methodCode exampleGetBodyPartAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
(Overrides MailFolderGetBodyPartAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetBodyPartAsync(UniqueId, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
Public methodGetEnumerator
Get an enumerator for the messages in the folder.
(Overrides MailFolderGetEnumerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHeaders(Int32, CancellationToken, ITransferProgress)
Get the specified message headers.
(Overrides MailFolderGetHeaders(Int32, CancellationToken, ITransferProgress).)
Public methodGetHeaders(UniqueId, CancellationToken, ITransferProgress)
Get the specified message headers.
(Overrides MailFolderGetHeaders(UniqueId, CancellationToken, ITransferProgress).)
Public methodGetHeaders(Int32, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part headers.
(Overrides MailFolderGetHeaders(Int32, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetHeaders(Int32, String, CancellationToken, ITransferProgress)
Get the specified body part headers.
Public methodGetHeaders(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part headers.
(Overrides MailFolderGetHeaders(UniqueId, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetHeaders(UniqueId, String, CancellationToken, ITransferProgress)
Get the specified body part headers.
Public methodGetHeadersAsync(Int32, CancellationToken, ITransferProgress)
Asynchronously get the specified message headers.
(Overrides MailFolderGetHeadersAsync(Int32, CancellationToken, ITransferProgress).)
Public methodGetHeadersAsync(UniqueId, CancellationToken, ITransferProgress)
Asynchronously get the specified message headers.
(Overrides MailFolderGetHeadersAsync(UniqueId, CancellationToken, ITransferProgress).)
Public methodGetHeadersAsync(Int32, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
(Overrides MailFolderGetHeadersAsync(Int32, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetHeadersAsync(Int32, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
Public methodGetHeadersAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
(Overrides MailFolderGetHeadersAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress).)
Public methodGetHeadersAsync(UniqueId, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
Public methodGetMessage(Int32, CancellationToken, ITransferProgress)
Get the specified message.
(Overrides MailFolderGetMessage(Int32, CancellationToken, ITransferProgress).)
Public methodGetMessage(UniqueId, CancellationToken, ITransferProgress)
Get the specified message.
(Overrides MailFolderGetMessage(UniqueId, CancellationToken, ITransferProgress).)
Public methodGetMessageAsync(Int32, CancellationToken, ITransferProgress)
Asynchronously get the specified message.
(Overrides MailFolderGetMessageAsync(Int32, CancellationToken, ITransferProgress).)
Public methodGetMessageAsync(UniqueId, CancellationToken, ITransferProgress)
Asynchronously get the specified message.
(Overrides MailFolderGetMessageAsync(UniqueId, CancellationToken, ITransferProgress).)
Public methodGetMetadata(IEnumerableMetadataTag, CancellationToken)
Get the specified metadata.
(Inherited from MailFolder.)
Public methodGetMetadata(MetadataTag, CancellationToken)
Get the specified metadata.
(Overrides MailFolderGetMetadata(MetadataTag, CancellationToken).)
Public methodGetMetadata(MetadataOptions, IEnumerableMetadataTag, CancellationToken)
Get the specified metadata.
(Overrides MailFolderGetMetadata(MetadataOptions, IEnumerableMetadataTag, CancellationToken).)
Public methodGetMetadataAsync(IEnumerableMetadataTag, CancellationToken)
Asynchronously gets the specified metadata.
(Inherited from MailFolder.)
Public methodGetMetadataAsync(MetadataTag, CancellationToken)
Asynchronously get the specified metadata.
(Overrides MailFolderGetMetadataAsync(MetadataTag, CancellationToken).)
Public methodGetMetadataAsync(MetadataOptions, IEnumerableMetadataTag, CancellationToken)
Asynchronously get the specified metadata.
(Overrides MailFolderGetMetadataAsync(MetadataOptions, IEnumerableMetadataTag, CancellationToken).)
Public methodGetMyAccessRights
Get the access rights for the current authenticated user.
(Overrides MailFolderGetMyAccessRights(CancellationToken).)
Public methodGetMyAccessRightsAsync
Asynchronously get the access rights for the current authenticated user.
(Overrides MailFolderGetMyAccessRightsAsync(CancellationToken).)
Public methodGetQuota
Get the quota information for the folder.
(Overrides MailFolderGetQuota(CancellationToken).)
Public methodGetQuotaAsync
Asynchronously get the quota information for the folder.
(Overrides MailFolderGetQuotaAsync(CancellationToken).)
Public methodGetStream(Int32, String, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Overrides MailFolderGetStream(Int32, String, CancellationToken, ITransferProgress).)
Public methodGetStream(UniqueId, String, CancellationToken, ITransferProgress)
Get a substream of the specified body part.
(Overrides MailFolderGetStream(UniqueId, String, CancellationToken, ITransferProgress).)
Public methodGetStream(Int32, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Overrides MailFolderGetStream(Int32, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStream(UniqueId, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Overrides MailFolderGetStream(UniqueId, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStream(Int32, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified body part.
(Inherited from MailFolder.)
Public methodGetStream(Int32, String, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Overrides MailFolderGetStream(Int32, String, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStream(UniqueId, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified body part.
(Inherited from MailFolder.)
Public methodGetStream(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Overrides MailFolderGetStream(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStreamAsync(Int32, String, CancellationToken, ITransferProgress)
Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(Int32, String, CancellationToken, ITransferProgress).)
Public methodGetStreamAsync(UniqueId, String, CancellationToken, ITransferProgress)
Asynchronously gets a substream of the specified body part.
(Overrides MailFolderGetStreamAsync(UniqueId, String, CancellationToken, ITransferProgress).)
Public methodGetStreamAsync(Int32, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(Int32, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStreamAsync(UniqueId, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(UniqueId, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStreamAsync(Int32, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified body part.
(Inherited from MailFolder.)
Public methodGetStreamAsync(Int32, String, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(Int32, String, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStreamAsync(UniqueId, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified body part.
(Inherited from MailFolder.)
Public methodGetStreamAsync(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress).)
Public methodGetStreams(IListInt32, ImapFetchStreamCallback, CancellationToken, ITransferProgress)
Get the streams for the specified messages.
Public methodGetStreams(IListUniqueId, ImapFetchStreamCallback, CancellationToken, ITransferProgress)
Get the streams for the specified messages.
Public methodGetStreams(Int32, Int32, ImapFetchStreamCallback, CancellationToken, ITransferProgress)
Get the streams for the specified messages.
Public methodGetStreamsAsync(IListInt32, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress)
Asynchronously get the streams for the specified messages.
Public methodGetStreamsAsync(IListUniqueId, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress)
Asynchronously get the streams for the specified messages.
Public methodGetStreamsAsync(Int32, Int32, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress)
Asynchronously get the streams for the specified messages.
Public methodGetSubfolder
Get the specified subfolder.
(Overrides MailFolderGetSubfolder(String, CancellationToken).)
Public methodGetSubfolderAsync
Asynchronously get the specified subfolder.
(Overrides MailFolderGetSubfolderAsync(String, CancellationToken).)
Public methodGetSubfolders(Boolean, CancellationToken)
Get the subfolders.
(Inherited from MailFolder.)
Public methodGetSubfolders(StatusItems, Boolean, CancellationToken)
Get the subfolders.
(Overrides MailFolderGetSubfolders(StatusItems, Boolean, CancellationToken).)
Public methodGetSubfoldersAsync(Boolean, CancellationToken)
Asynchronously get the subfolders.
(Inherited from MailFolder.)
Public methodGetSubfoldersAsync(StatusItems, Boolean, CancellationToken)
Asynchronously get the subfolders.
(Overrides MailFolderGetSubfoldersAsync(StatusItems, Boolean, CancellationToken).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveTo(Int32, IMailFolder, CancellationToken)
Move the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodMoveTo(IListInt32, IMailFolder, CancellationToken)
Move the specified messages to the destination folder.
(Overrides MailFolderMoveTo(IListInt32, IMailFolder, CancellationToken).)
Public methodMoveTo(UniqueId, IMailFolder, CancellationToken)
Move the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodMoveTo(IListUniqueId, IMailFolder, CancellationToken)
Move the specified messages to the destination folder.
(Overrides MailFolderMoveTo(IListUniqueId, IMailFolder, CancellationToken).)
Public methodMoveToAsync(Int32, IMailFolder, CancellationToken)
Asynchronously move the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodMoveToAsync(IListInt32, IMailFolder, CancellationToken)
Asynchronously move the specified messages to the destination folder.
(Overrides MailFolderMoveToAsync(IListInt32, IMailFolder, CancellationToken).)
Public methodMoveToAsync(UniqueId, IMailFolder, CancellationToken)
Asynchronously move the specified message to the destination folder.
(Inherited from MailFolder.)
Public methodMoveToAsync(IListUniqueId, IMailFolder, CancellationToken)
Asynchronously move the specified messages to the destination folder.
(Overrides MailFolderMoveToAsync(IListUniqueId, IMailFolder, CancellationToken).)
Protected methodOnAnnotationsChanged
Raise the message annotations changed event.
(Inherited from MailFolder.)
Protected methodOnClosed
Raise the closed event.
(Inherited from MailFolder.)
Protected methodOnCountChanged
Raise the message count changed event.
(Inherited from MailFolder.)
Protected methodOnDeleted
Raise the deleted event.
(Inherited from MailFolder.)
Protected methodOnHighestModSeqChanged
Raise the highest mod-sequence changed event.
(Inherited from MailFolder.)
Protected methodOnIdChanged
Raise the ID changed event.
(Inherited from MailFolder.)
Protected methodOnMessageExpunged
Raise the message expunged event.
(Inherited from MailFolder.)
Protected methodOnMessageFlagsChanged
Raise the message flags changed event.
(Inherited from MailFolder.)
Protected methodOnMessageLabelsChanged
Raise the message labels changed event.
(Inherited from MailFolder.)
Protected methodOnMessageSummaryFetched
Raise the message summary fetched event.
(Inherited from MailFolder.)
Protected methodOnMessagesVanished
Raise the messages vanished event.
(Inherited from MailFolder.)
Protected methodOnMetadataChanged
Raise the metadata changed event.
(Inherited from MailFolder.)
Protected methodOnModSeqChanged
Raise the message mod-sequence changed event.
(Inherited from MailFolder.)
Protected methodOnOpened
Raise the opened event.
(Inherited from MailFolder.)
Protected methodOnParentFolderRenamed
Notifies the folder that a parent folder has been renamed.
(Overrides MailFolderOnParentFolderRenamed.)
Protected methodOnRecentChanged
Raise the recent message count changed event.
(Inherited from MailFolder.)
Protected methodOnRenamed
Raise the renamed event.
(Inherited from MailFolder.)
Protected methodOnSizeChanged
Raise the size changed event.
(Inherited from MailFolder.)
Protected methodOnSubscribed
Raise the subscribed event.
(Inherited from MailFolder.)
Protected methodOnUidNextChanged
Raise the next UID changed event.
(Inherited from MailFolder.)
Protected methodOnUidValidityChanged
Raise the uid validity changed event.
(Inherited from MailFolder.)
Protected methodOnUnreadChanged
Raise the unread message count changed event.
(Inherited from MailFolder.)
Protected methodOnUnsubscribed
Raise the unsubscribed event.
(Inherited from MailFolder.)
Public methodOpen(FolderAccess, CancellationToken)
Open the folder using the requested folder access.
(Overrides MailFolderOpen(FolderAccess, CancellationToken).)
Public methodOpen(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken)
Open the folder using the requested folder access.
(Overrides MailFolderOpen(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken).)
Public methodOpenAsync(FolderAccess, CancellationToken)
Asynchronously open the folder using the requested folder access.
(Overrides MailFolderOpenAsync(FolderAccess, CancellationToken).)
Public methodOpenAsync(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken)
Asynchronously open the folder using the requested folder access.
(Overrides MailFolderOpenAsync(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken).)
Public methodRemoveAccess
Remove all access rights for the given identity.
(Overrides MailFolderRemoveAccess(String, CancellationToken).)
Public methodRemoveAccessAsync
Asynchronously remove all access rights for the given identity.
(Overrides MailFolderRemoveAccessAsync(String, CancellationToken).)
Public methodRemoveAccessRights
Remove access rights for the specified identity.
(Overrides MailFolderRemoveAccessRights(String, AccessRights, CancellationToken).)
Public methodRemoveAccessRightsAsync
Asynchronously remove access rights for the specified identity.
(Overrides MailFolderRemoveAccessRightsAsync(String, AccessRights, CancellationToken).)
Public methodRemoveFlags(IListInt32, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages.
(Inherited from MailFolder.)
Public methodRemoveFlags(Int32, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlags(UniqueId, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlags(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages.
(Inherited from MailFolder.)
Public methodRemoveFlags(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodRemoveFlags(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Removes a set of flags from the specified messages.
(Overrides MailFolderRemoveFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlags(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlags(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodRemoveFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Removes a set of flags from the specified messages.
(Overrides MailFolderRemoveFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Removes a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Removes a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlagsAsync(IListInt32, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(Int32, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(UniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously removes a set of flags from the specified messages.
(Overrides MailFolderRemoveFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlagsAsync(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously removes a set of flags from the specified messages.
(Overrides MailFolderRemoveFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously removes a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously removes a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodRemoveLabels(Int32, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified message.
(Inherited from MailFolder.)
Public methodRemoveLabels(IListInt32, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages.
(Overrides MailFolderRemoveLabels(IListInt32, IListString, Boolean, CancellationToken).)
Public methodRemoveLabels(UniqueId, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified message.
(Inherited from MailFolder.)
Public methodRemoveLabels(IListUniqueId, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages.
(Overrides MailFolderRemoveLabels(IListUniqueId, IListString, Boolean, CancellationToken).)
Public methodRemoveLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken).)
Public methodRemoveLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken).)
Public methodRemoveLabelsAsync(Int32, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified message.
(Inherited from MailFolder.)
Public methodRemoveLabelsAsync(IListInt32, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages.
(Overrides MailFolderRemoveLabelsAsync(IListInt32, IListString, Boolean, CancellationToken).)
Public methodRemoveLabelsAsync(UniqueId, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified message.
(Inherited from MailFolder.)
Public methodRemoveLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages.
(Overrides MailFolderRemoveLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken).)
Public methodRemoveLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken).)
Public methodRemoveLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderRemoveLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken).)
Public methodRename
Rename the folder to exist with a new name under a new parent folder.
(Overrides MailFolderRename(IMailFolder, String, CancellationToken).)
Public methodRenameAsync
Asynchronously rename the folder to exist with a new name under a new parent folder.
(Overrides MailFolderRenameAsync(IMailFolder, String, CancellationToken).)
Public methodReplace(Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplace(UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplace(Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplace(FormatOptions, UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Overrides MailFolderReplace(FormatOptions, UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress).)
Public methodReplace(FormatOptions, Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Overrides MailFolderReplace(FormatOptions, Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress).)
Public methodReplace(UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplace(FormatOptions, UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Overrides MailFolderReplace(FormatOptions, UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress).)
Public methodReplace(FormatOptions, Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Overrides MailFolderReplace(FormatOptions, Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress).)
Public methodReplaceAsync(Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplaceAsync(UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplaceAsync(Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplaceAsync(FormatOptions, UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Overrides MailFolderReplaceAsync(FormatOptions, UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress).)
Public methodReplaceAsync(FormatOptions, Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Overrides MailFolderReplaceAsync(FormatOptions, Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress).)
Public methodReplaceAsync(UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from MailFolder.)
Public methodReplaceAsync(FormatOptions, UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Overrides MailFolderReplaceAsync(FormatOptions, UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress).)
Public methodReplaceAsync(FormatOptions, Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Overrides MailFolderReplaceAsync(FormatOptions, Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress).)
Public methodSearch(String, CancellationToken)
Search the folder for messages matching the specified query.
Public methodSearch(SearchQuery, CancellationToken)
Search the folder for messages matching the specified query.
(Overrides MailFolderSearch(SearchQuery, CancellationToken).)
Public methodSearch(SearchOptions, SearchQuery, CancellationToken)
Search the folder for messages matching the specified query.
(Overrides MailFolderSearch(SearchOptions, SearchQuery, CancellationToken).)
Public methodSearch(IListUniqueId, SearchQuery, CancellationToken)
Search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder.)
Public methodSearch(SearchOptions, IListUniqueId, SearchQuery, CancellationToken)
Search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder.)
Public methodSearchAsync(String, CancellationToken)
Asynchronously search the folder for messages matching the specified query.
Public methodSearchAsync(SearchQuery, CancellationToken)
Asynchronously search the folder for messages matching the specified query.
(Overrides MailFolderSearchAsync(SearchQuery, CancellationToken).)
Public methodSearchAsync(SearchOptions, SearchQuery, CancellationToken)
Asynchronously search the folder for messages matching the specified query.
(Overrides MailFolderSearchAsync(SearchOptions, SearchQuery, CancellationToken).)
Public methodSearchAsync(IListUniqueId, SearchQuery, CancellationToken)
Asynchronously search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder.)
Public methodSearchAsync(SearchOptions, IListUniqueId, SearchQuery, CancellationToken)
Asynchronously search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder.)
Public methodSetAccessRights
Set the access rights for the specified identity.
(Overrides MailFolderSetAccessRights(String, AccessRights, CancellationToken).)
Public methodSetAccessRightsAsync
Asynchronously get the access rights for the specified identity.
(Overrides MailFolderSetAccessRightsAsync(String, AccessRights, CancellationToken).)
Public methodSetFlags(IListInt32, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages.
(Inherited from MailFolder.)
Public methodSetFlags(Int32, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlags(UniqueId, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlags(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages.
(Inherited from MailFolder.)
Public methodSetFlags(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodSetFlags(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Sets the flags of the specified messages.
(Overrides MailFolderSetFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlags(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlags(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodSetFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Sets the flags of the specified messages.
(Overrides MailFolderSetFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Sets the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Sets the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlagsAsync(IListInt32, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(Int32, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(UniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously sets the flags of the specified messages.
(Overrides MailFolderSetFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlagsAsync(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from MailFolder.)
Public methodSetFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously sets the flags of the specified messages.
(Overrides MailFolderSetFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously sets the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously sets the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken).)
Public methodSetLabels(Int32, IListString, Boolean, CancellationToken)
Set the labels of the specified message.
(Inherited from MailFolder.)
Public methodSetLabels(IListInt32, IListString, Boolean, CancellationToken)
Sets the labels of the specified messages.
(Overrides MailFolderSetLabels(IListInt32, IListString, Boolean, CancellationToken).)
Public methodSetLabels(UniqueId, IListString, Boolean, CancellationToken)
Set the labels of the specified message.
(Inherited from MailFolder.)
Public methodSetLabels(IListUniqueId, IListString, Boolean, CancellationToken)
Set the labels of the specified messages.
(Overrides MailFolderSetLabels(IListUniqueId, IListString, Boolean, CancellationToken).)
Public methodSetLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken).)
Public methodSetLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken).)
Public methodSetLabelsAsync(Int32, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified message.
(Inherited from MailFolder.)
Public methodSetLabelsAsync(IListInt32, IListString, Boolean, CancellationToken)
Asynchronously sets the labels of the specified messages.
(Overrides MailFolderSetLabelsAsync(IListInt32, IListString, Boolean, CancellationToken).)
Public methodSetLabelsAsync(UniqueId, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified message.
(Inherited from MailFolder.)
Public methodSetLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages.
(Overrides MailFolderSetLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken).)
Public methodSetLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken).)
Public methodSetLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderSetLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken).)
Public methodSetMetadata
Set the specified metadata.
(Overrides MailFolderSetMetadata(MetadataCollection, CancellationToken).)
Public methodSetMetadataAsync
Asynchronously set the specified metadata.
(Overrides MailFolderSetMetadataAsync(MetadataCollection, CancellationToken).)
Public methodSetQuota
Set the quota limits for the folder.
(Overrides MailFolderSetQuota(NullableUInt32, NullableUInt32, CancellationToken).)
Public methodSetQuotaAsync
Asynchronously set the quota limits for the folder.
(Overrides MailFolderSetQuotaAsync(NullableUInt32, NullableUInt32, CancellationToken).)
Public methodSort(String, CancellationToken)
Sort messages matching the specified query.
Public methodSort(SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Overrides MailFolderSort(SearchQuery, IListOrderBy, CancellationToken).)
Public methodSort(SearchOptions, SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Overrides MailFolderSort(SearchOptions, SearchQuery, IListOrderBy, CancellationToken).)
Public methodSort(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Inherited from MailFolder.)
Public methodSort(SearchOptions, IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Inherited from MailFolder.)
Public methodSortAsync(String, CancellationToken)
Asynchronously sort messages matching the specified query.
Public methodSortAsync(SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Overrides MailFolderSortAsync(SearchQuery, IListOrderBy, CancellationToken).)
Public methodSortAsync(SearchOptions, SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Overrides MailFolderSortAsync(SearchOptions, SearchQuery, IListOrderBy, CancellationToken).)
Public methodSortAsync(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Inherited from MailFolder.)
Public methodSortAsync(SearchOptions, IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query, returning the search results in the specified sort order.
(Inherited from MailFolder.)
Public methodStatus
Update the values of the specified items.
(Overrides MailFolderStatus(StatusItems, CancellationToken).)
Public methodStatusAsync
Asynchronously update the values of the specified items.
(Overrides MailFolderStatusAsync(StatusItems, CancellationToken).)
Public methodStore(Int32, IListAnnotation, CancellationToken)
Store the annotations for the specified message.
(Inherited from MailFolder.)
Public methodStore(IListInt32, IListAnnotation, CancellationToken)
Store the annotations for the specified messages.
(Overrides MailFolderStore(IListInt32, IListAnnotation, CancellationToken).)
Public methodStore(UniqueId, IListAnnotation, CancellationToken)
Store the annotations for the specified message.
(Inherited from MailFolder.)
Public methodStore(IListUniqueId, IListAnnotation, CancellationToken)
Store the annotations for the specified messages.
(Overrides MailFolderStore(IListUniqueId, IListAnnotation, CancellationToken).)
Public methodStore(IListInt32, UInt64, IListAnnotation, CancellationToken)
Store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderStore(IListInt32, UInt64, IListAnnotation, CancellationToken).)
Public methodStore(IListUniqueId, UInt64, IListAnnotation, CancellationToken)
Store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderStore(IListUniqueId, UInt64, IListAnnotation, CancellationToken).)
Public methodStoreAsync(Int32, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified message.
(Inherited from MailFolder.)
Public methodStoreAsync(IListInt32, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages.
(Overrides MailFolderStoreAsync(IListInt32, IListAnnotation, CancellationToken).)
Public methodStoreAsync(UniqueId, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified message.
(Inherited from MailFolder.)
Public methodStoreAsync(IListUniqueId, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages.
(Overrides MailFolderStoreAsync(IListUniqueId, IListAnnotation, CancellationToken).)
Public methodStoreAsync(IListInt32, UInt64, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderStoreAsync(IListInt32, UInt64, IListAnnotation, CancellationToken).)
Public methodStoreAsync(IListUniqueId, UInt64, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Overrides MailFolderStoreAsync(IListUniqueId, UInt64, IListAnnotation, CancellationToken).)
Public methodSubscribe
Subscribe the folder.
(Overrides MailFolderSubscribe(CancellationToken).)
Public methodSubscribeAsync
Asynchronously subscribe the folder.
(Overrides MailFolderSubscribeAsync(CancellationToken).)
Public methodSupports
Determine whether or not an ImapFolder supports a feature.
(Overrides MailFolderSupports(FolderFeature).)
Public methodThread(ThreadingAlgorithm, SearchQuery, CancellationToken)
Thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThread(ThreadingAlgorithm, SearchQuery, CancellationToken).)
Public methodThread(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken)
Thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThread(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken).)
Public methodThreadAsync(ThreadingAlgorithm, SearchQuery, CancellationToken)
Asynchronously thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThreadAsync(ThreadingAlgorithm, SearchQuery, CancellationToken).)
Public methodThreadAsync(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken)
Asynchronously thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThreadAsync(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken).)
Public methodToString
Returns a String that represents the current MailFolder.
(Inherited from MailFolder.)
Public methodUnsubscribe
Unsubscribe the folder.
(Overrides MailFolderUnsubscribe(CancellationToken).)
Public methodUnsubscribeAsync
Asynchronously unsubscribe the folder.
(Overrides MailFolderUnsubscribeAsync(CancellationToken).)
Top
Events
  NameDescription
Public eventAnnotationsChanged
Occurs when annotations changed on a message.
(Inherited from MailFolder.)
Public eventClosed
Occurs when the folder is closed.
(Inherited from MailFolder.)
Public eventCode exampleCountChanged
Occurs when the message count changes.
(Inherited from MailFolder.)
Public eventDeleted
Occurs when the folder is deleted.
(Inherited from MailFolder.)
Public eventHighestModSeqChanged
Occurs when the highest mod-sequence changes.
(Inherited from MailFolder.)
Public eventIdChanged
Occurs when the folder ID changes.
(Inherited from MailFolder.)
Public eventCode exampleMessageExpunged
Occurs when a message is expunged from the folder.
(Inherited from MailFolder.)
Public eventCode exampleMessageFlagsChanged
Occurs when flags changed on a message.
(Inherited from MailFolder.)
Public eventMessageLabelsChanged
Occurs when labels changed on a message.
(Inherited from MailFolder.)
Public eventMessageSummaryFetched
Occurs when a message summary is fetched from the folder.
(Inherited from MailFolder.)
Public eventMessagesVanished
Occurs when a message vanishes from the folder.
(Inherited from MailFolder.)
Public eventMetadataChanged
Occurs when metadata changes.
(Inherited from MailFolder.)
Public eventModSeqChanged
Occurs when the mod-sequence changed on a message.
(Inherited from MailFolder.)
Public eventOpened
Occurs when the folder is opened.
(Inherited from MailFolder.)
Public eventRecentChanged
Occurs when the recent message count changes.
(Inherited from MailFolder.)
Public eventRenamed
Occurs when the folder is renamed.
(Inherited from MailFolder.)
Public eventSizeChanged
Occurs when the folder size changes.
(Inherited from MailFolder.)
Public eventSubscribed
Occurs when the folder is subscribed.
(Inherited from MailFolder.)
Public eventUidNextChanged
Occurs when the next UID changes.
(Inherited from MailFolder.)
Public eventUidValidityChanged
Occurs when the UID validity changes.
(Inherited from MailFolder.)
Public eventUnreadChanged
Occurs when the unread message count changes.
(Inherited from MailFolder.)
Public eventUnsubscribed
Occurs when the folder is unsubscribed.
(Inherited from MailFolder.)
Top
Remarks
An IMAP folder.
Examples
C#
public static void DownloadMessages ()
{
    using (var client = new ImapClient ()) {
        client.Connect ("imap.gmail.com", 993, SecureSocketOptions.SslOnConnect);

        client.Authenticate ("username", "password");

        client.Inbox.Open (FolderAccess.ReadOnly);

        var uids = client.Inbox.Search (SearchQuery.All);

        foreach (var uid in uids) {
            var message = client.Inbox.GetMessage (uid);

            // write the message to a file
            message.WriteTo (string.Format ("{0}.eml", uid));
        }

        client.Disconnect (true);
    }
}
Examples
C#
public static void DownloadBodyParts ()
{
    using (var client = new ImapClient ()) {
        client.Connect ("imap.gmail.com", 993, SecureSocketOptions.SslOnConnect);

        client.Authenticate ("username", "password");

        client.Inbox.Open (FolderAccess.ReadOnly);

        // search for messages where the Subject header contains either "MimeKit" or "MailKit"
        var query = SearchQuery.SubjectContains ("MimeKit").Or (SearchQuery.SubjectContains ("MailKit"));
        var uids = client.Inbox.Search (query);

        // fetch summary information for the search results (we will want the UID and the BODYSTRUCTURE
        // of each message so that we can extract the text body and the attachments)
        var items = client.Inbox.Fetch (uids, MessageSummaryItems.UniqueId | MessageSummaryItems.BodyStructure);

        foreach (var item in items) {
            // determine a directory to save stuff in
            var directory = Path.Combine (baseDirectory, item.UniqueId.ToString ());

            // create the directory
            Directory.CreateDirectory (directory);

            // IMessageSummary.TextBody is a convenience property that finds the 'text/plain' body part for us
            var bodyPart = item.TextBody;

            // download the 'text/plain' body part
            var body = (TextPart) client.Inbox.GetBodyPart (item.UniqueId, bodyPart);

            // TextPart.Text is a convenience property that decodes the content and converts the result to
            // a string for us
            var text = body.Text;

            File.WriteAllText (Path.Combine (directory, "body.txt"), text);

            // now iterate over all of the attachments and save them to disk
            foreach (var attachment in item.Attachments) {
                // download the attachment just like we did with the body
                var entity = client.Inbox.GetBodyPart (item.UniqueId, attachment);

                // attachments can be either message/rfc822 parts or regular MIME parts
                if (entity is MessagePart) {
                    var rfc822 = (MessagePart) entity;

                    var path = Path.Combine (directory, attachment.PartSpecifier + ".eml");

                    rfc822.Message.WriteTo (path);
                } else {
                    var part = (MimePart) entity;

                    // note: it's possible for this to be null, but most will specify a filename
                    var fileName = part.FileName;

                    var path = Path.Combine (directory, fileName);

                    // decode and save the content to a file
                    using (var stream = File.Create (path))
                        part.Content.DecodeTo (stream);
                }
            }
        }

        client.Disconnect (true);
    }
}
See Also