MessageState MessageState MessageState MessageState Enum

Definition

Specifies the status of a message.

public enum class MessageState
public enum MessageState
type MessageState = 
Public Enum MessageState
Inheritance

Fields

Closed Closed Closed Closed 4

The message has been closed and can no longer be accessed.

Copied Copied Copied Copied 3

The message has been copied.

Created Created Created Created 0

The message has been created.

Read Read Read Read 1

The message is being read.

Written Written Written Written 2

The message has been written.

Remarks

As the body of a Message object is a stream, it can only be read or written once. This is enforced by maintaining the current state of the Message object. A Message object can be read/written/copied when in the Created state. Other states are Read, Written and Copied, which means that the respective action has been performed already once.

Applies to