Udostępnij za pośrednictwem


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