Message.SystemPropertiesCollection.State Property

Definition

Gets or sets the state of the message.

public Microsoft.Azure.ServiceBus.MessageState State { get; }
member this.State : Microsoft.Azure.ServiceBus.MessageState
Public ReadOnly Property State As MessageState

Property Value

The state of the message.

Remarks

State of the message can be Active or Deferred or Scheduled. Deferred messages have Deferred state, scheduled messages have Scheduled state, all other messages have Active state. This property is read-only.

Applies to