Muokkaa

Jaa


MessageState Enum

Definition

Specifies the status of a message.

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

Fields

Name Value Description
Created 0

The message has been created.

Read 1

The message is being read.

Written 2

The message has been written.

Copied 3

The message has been copied.

Closed 4

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

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