Replace Request Class
A request for replacing a message in a folder.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class ReplaceRequest : AppendRequest,
IReplaceRequest, IAppendRequest- Inheritance
- Object AppendRequest ReplaceRequest
- Implements
- IAppendRequest, IReplaceRequest
Remarks
A request for replacing a message in a folder.
Constructors
| ReplaceRequest(MimeMessage, MessageFlags) | Initializes a new instance of the ReplaceRequest class. |
| ReplaceRequest(MimeMessage, MessageFlags, IEnumerableString) | Initializes a new instance of the ReplaceRequest class. |
| ReplaceRequest(MimeMessage, MessageFlags, DateTimeOffset) | Initializes a new instance of the ReplaceRequest class. |
| ReplaceRequest(MimeMessage, MessageFlags, IEnumerableString, DateTimeOffset) | Initializes a new instance of the ReplaceRequest class. |
Properties
| Annotations |
Get or set the list of annotations that should be set on the message.
(Inherited from AppendRequest) |
| Destination | Get or set the folder where the replacement message should be appended. |
| Flags |
Get or set the message flags that should be set on the message.
(Inherited from AppendRequest) |
| InternalDate |
Get or set the timestamp that should be used by folder as the InternalDate.
(Inherited from AppendRequest) |
| Keywords |
Get or set the keywords that should be set on the message.
(Inherited from AppendRequest) |
| Message |
Get the message that should be appended to the folder.
(Inherited from AppendRequest) |
| TransferProgress |
Get or set the transfer progress reporting mechanism.
(Inherited from AppendRequest) |
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 |
Called when the server has successfully appended the message.
(Inherited from AppendRequest) |
| OnStarted |
Called when the message is about to be sent to the server.
(Inherited from AppendRequest) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |