SALES: 1-800-867-1380
ForcePersistence Property

BrokeredMessage.ForcePersistence Property

 

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.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public bool ForcePersistence { get; set; }

Property Value

Type: System.Boolean

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

Return to top
Show:
© 2016 Microsoft