你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Message.SystemPropertiesCollection.State 属性

定义

获取或设置消息的状态。

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

属性值

消息的状态。

注解

消息的状态可以是“活动”、“已延迟”或“已计划”。 延迟消息具有“已延迟”状态,计划的消息具有“已计划”状态,所有其他消息都处于“活动”状态。 此属性为只读。

适用于