您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的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; }
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