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

BrokeredMessage.ForcePersistence Property

Definition

Gets or sets a value that indicates whether the message is to be persisted to the database immediately, instead of being held in memory for a short time. This property is ignored if the message is sent to a non-express queue or topic.

public bool ForcePersistence { get; set; }
member this.ForcePersistence : bool with get, set
Public Property ForcePersistence As Boolean

Property Value

true if the message is to be persisted to the database immediately, instead of being held in memory for a short time; otherwise, false.

Applies to