StoreLabelsRequest Class

A request for storing GMail-style labels.

Definition

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

Remarks

A request suitable for storing GMail-style labels.

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

Constructors

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

Properties

Action Get the store action to perform.
Labels Get the GMail-style labels 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 labels 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