StoreFlagsRequest Class

A request for storing message flags and keywords.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class StoreFlagsRequest : IStoreFlagsRequest, 
	IStoreRequest
Inheritance
Object    StoreFlagsRequest
Implements
IStoreFlagsRequest, IStoreRequest

Remarks

A request suitable for storing message flags and keywords.

This request is designed to be used with the Store and StoreAsync methods.

Constructors

StoreFlagsRequest(StoreAction, MessageFlags) Initializes a new instance of the StoreFlagsRequest class.
StoreFlagsRequest(StoreAction, IEnumerableString) Initializes a new instance of the StoreFlagsRequest class.
StoreFlagsRequest(StoreAction, MessageFlags, IEnumerableString) Initializes a new instance of the StoreFlagsRequest class.

Properties

Action Get the store action to perform.
Flags Get or set the flags to add, remove or set on the message.
Keywords Get or set the keywords to add, remove or set on the message.
Silent Get or set whether the store operation should run silently.
UnchangedSince Get or set a mod-sequence number that the store operation should use to decide if the flags of a message should be updated or not.

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, IListUniqueId) Called when the server has successfully updated a subset of the messages.
OnCompleted(IMailFolder, IListInt32, IListInt32) Called when the server has successfully updated 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 sent to the server.
OnStarted(IMailFolder, IListInt32) Called when a subset of the messages is about to be sent to the server.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference